blob: a433c849d8d2183f94346baf1f78b6eb12f9c4cd [file]
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include "init.h"
static int early_init_memory(void) {
sleep(1);
return 0;
}
static int detect_memory(void) {
return 1;
}
struct init_fn memory_init_fn __init_fn(INIT_EARLY) = {
.detect = detect_memory,
.early_init = early_init_memory,
.name = "Memory",
.critical = true,
};