X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/4509619557e06ff851f93ddf1eaca7a898d46b2f..94d78d15691f3e6ac4c4797bb21ffcf8f9cc4a39:/include/multiboot.h?ds=sidebyside diff --git a/include/multiboot.h b/include/multiboot.h new file mode 100644 index 0000000..96f8819 --- /dev/null +++ b/include/multiboot.h @@ -0,0 +1,24 @@ +#ifndef __MULTIBOOT_H +#define __MULTIBOOT_H + +#define MULTIBOOT_LOADER_MAGIC 0x2BADB002 + +struct mb_info +{ + unsigned long flags; + unsigned long mem_lower, mem_upper; + unsigned long boot_dev; + char *cmdline; + unsigned long mod_cnt; + struct mod_info *mods; +}; + +struct mod_info +{ + void *mod_start; + void *mod_end; + char *mod_string; + void *reserved; +}; + +#endif