BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / d41a53cbc7d055b1c00cf0a339dbed6925f4f02c / multiboot.h

// Related

Orion

Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)
diff --git a/multiboot.h b/multiboot.h
new file mode 100644
index 0000000..3fde8d0
--- /dev/null
+++ b/multiboot.h
@@ -0,0 +1,37 @@
+#ifndef MULTIBOOT_H
+#define MULTIBOOT_H
+
+#include <stdint.h>
+
+struct MultibootInfo {
+	uint32_t flags;
+	uint32_t memLower;
+	uint32_t memHigher;
+	uint32_t bootDev;
+	uint32_t cmdline;
+	uint32_t modsCount;
+	uint32_t modsAddr;
+
+	uint32_t symsNum;
+	uint32_t symsSize;
+	uint32_t symsAddr;
+	uint32_t symsShndx;
+
+	uint32_t mmapLen;
+	uint32_t mmapAddr;
+	uint32_t drivesLen;
+	uint32_t drivesAddr;
+
+	uint32_t configTable;
+	uint32_t bootLoader;
+	uint32_t apmTable;
+
+	uint32_t vbeControlInfo;
+	uint32_t vbeModeInfo;
+	uint16_t vbeMode;
+	uint16_t vbeInterfaceSeg;
+	uint16_t vbeInterfaceOff;
+	uint16_t vbeInterfaceLen;
+};
+
+#endif