réplica de
https://github.com/Arnau478/quark.git
synced 2024-05-24 21:46:29 +02:00
14 líneas
249 B
C
14 líneas
249 B
C
|
#include "../lib/debug.h"
|
||
|
#include "initrd.h"
|
||
|
|
||
|
static uint8_t *_initrd_addr;
|
||
|
|
||
|
void initrd_set_addr(uint8_t *addr){
|
||
|
debug_printf("Initrd addr set to %x\n", addr);
|
||
|
_initrd_addr = addr;
|
||
|
}
|
||
|
|
||
|
uint8_t *initrd_get_addr(){
|
||
|
return _initrd_addr;
|
||
|
}
|