hos/kernel/module.h

17 lines
351 B
C

#ifndef __HOS_MODULE_H__
#define __HOS_MODULE_H__ __HOS_MODULE_H__
#define MOD_REAL_MODE 1
#define MOD_INITRD 2
typedef struct {
unsigned int mod_magic; // "HOSM" = dword value 0x4D534F48
unsigned int mod_type; // module type
void (*init) (); // address of void initialization function
unsigned int reserved;
} hos_module_header_t;
#endif