summaryrefslogtreecommitdiff
path: root/src/bootinfo.h
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2015-09-12 14:11:23 -0500
committerBobby Bingham <koorogi@koorogi.info>2015-09-15 22:43:32 -0500
commitf39b2b31fc8a604d7a3972cd15473bc8cab28684 (patch)
tree0480b2ca50965fb5c3c4863ff275850e4196a994 /src/bootinfo.h
tool to create saturn boot sector
Diffstat (limited to 'src/bootinfo.h')
-rw-r--r--src/bootinfo.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/bootinfo.h b/src/bootinfo.h
new file mode 100644
index 0000000..976f8e1
--- /dev/null
+++ b/src/bootinfo.h
@@ -0,0 +1,23 @@
+#ifndef SATTOOLS_BOOT_BOOTINFO_H
+#define SATTOOLS_BOOT_BOOTINFO_H
+
+#include <stdint.h>
+
+struct systemid {
+ char title [112];
+ char maker [ 16];
+ char product [ 10];
+ char version [ 6];
+ char reldate [ 8];
+ char device [ 8];
+ char regions [ 10];
+ char peripherals[ 16];
+
+ uint32_t bootsize;
+ uint32_t stack_master;
+ uint32_t stack_slave;
+ uint32_t load_addr;
+ uint32_t load_size;
+};
+
+#endif