Files
my-kern/include/myke/util/init.h
2021-08-13 21:07:40 +02:00

21 lines
312 B
C

//
// Created by rick on 13-08-21.
//
#ifndef NEW_KERNEL_INIT_H
#define NEW_KERNEL_INIT_H
#include <sys/types.h>
#include <myke/driver.h>
struct init {
const char *name;
void (*init)();
};
#define INIT_FUNCTION(order) GENERIC_DRIVER(init, order)
void init_execute_all();
#endif //NEW_KERNEL_INIT_H