aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/gplinclude/disk/common.h')
-rw-r--r--com32/gplinclude/disk/common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/com32/gplinclude/disk/common.h b/com32/gplinclude/disk/common.h
new file mode 100644
index 00000000..6e4f3d61
--- /dev/null
+++ b/com32/gplinclude/disk/common.h
@@ -0,0 +1,19 @@
+#ifndef _COMMON_H_
+#define _COMMON_H_
+
+#include <stdint.h>
+
+#define SECTOR 512 /* bytes/sector */
+
+#undef PAGE_SIZE
+#define PAGE_SIZE (1<<12)
+
+struct ebios_dapa {
+ uint16_t len;
+ uint16_t count;
+ uint16_t off;
+ uint16_t seg;
+ uint64_t lba;
+};
+
+#endif /* _COMMON_H_ */