summaryrefslogtreecommitdiff
path: root/include/multiboot.h
diff options
context:
space:
mode:
authorsceptillion <33798691+sceptillion@users.noreply.github.com>2017-12-17 13:22:46 -0800
committersceptillion <33798691+sceptillion@users.noreply.github.com>2017-12-17 13:22:46 -0800
commitb849ce93dbafac8e4961b531ab40585c0fdd103a (patch)
tree1cfd5cf3b7223a8e91dd0a0d4e6e112bd3458d8b /include/multiboot.h
parent3ddda066d91cbbd377584acacaea62a9deba8873 (diff)
decompile main
Diffstat (limited to 'include/multiboot.h')
-rw-r--r--include/multiboot.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/multiboot.h b/include/multiboot.h
new file mode 100644
index 000000000..d4700ff4e
--- /dev/null
+++ b/include/multiboot.h
@@ -0,0 +1,21 @@
+#ifndef GUARD_MULTIBOOT_H
+#define GUARD_MULTIBOOT_H
+
+#define MULTIBOOT_MASTER_INFO 0x62
+#define MULTIBOOT_CLIENT_INFO 0x72
+#define MULTIBOOT_MASTER_START_PROBE 0x61
+#define MULTIBOOT_MASTER_REQUEST_DLREADY 0x63
+#define MULTIBOOT_CLIENT_DLREADY 0x73
+#define MULTIBOOT_MASTER_START_DL 0x64
+#define MULTIBOOT_MASTER_REQUEST_CRC 0x65
+#define MULTIBOOT_CLIENT_CALC_CRC 0x74
+#define MULTIBOOT_CLIENT_CRCREADY 0x75
+#define MULTIBOOT_MASTER_VERIFY_CRC 0x66
+
+void MultiBootInit(struct MultiBootParam *mp);
+int MultiBootMain(struct MultiBootParam *mp);
+void MultiBootStartProbe(struct MultiBootParam *mp);
+void MultiBootStartMaster(struct MultiBootParam *mp, const u8 *srcp, int length, u8 palette_color, s8 palette_speed);
+int MultiBootCheckComplete(struct MultiBootParam *mp);
+
+#endif // GUARD_MULTIBOOT_H