]> Joshua Wise's Git repositories - netwatch.git/blobdiff - include/multiboot.h
Split multiboot stuff into a header.
[netwatch.git] / include / multiboot.h
diff --git a/include/multiboot.h b/include/multiboot.h
new file mode 100644 (file)
index 0000000..96f8819
--- /dev/null
@@ -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
This page took 0.007517 seconds and 4 git commands to generate.