aboutsummaryrefslogtreecommitdiffstats
path: root/src/std
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-09-14 23:09:06 -0400
committerKevin O'Connor <kevin@koconnor.net>2013-09-18 20:48:34 -0400
commitb18557ab09a60476b4269c3a473d8aebeaaa002f (patch)
tree20dd6a581168de2833fb2a68532e80b2e3fb6ac2 /src/std
parent4f790aa922d57fe52cd6dab1d40ff02f6f2d3911 (diff)
downloadseabios-b18557ab09a60476b4269c3a473d8aebeaaa002f.tar.gz
Move pmm definitions to new file std/pmm.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/std')
-rw-r--r--src/std/pmm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/std/pmm.h b/src/std/pmm.h
new file mode 100644
index 00000000..80027f38
--- /dev/null
+++ b/src/std/pmm.h
@@ -0,0 +1,19 @@
+#ifndef __PMM_H
+#define __PMM_H
+
+#include "types.h" // u32
+
+#define PMM_SIGNATURE 0x4d4d5024 // $PMM
+
+struct pmmheader {
+ u32 signature;
+ u8 version;
+ u8 length;
+ u8 checksum;
+ struct segoff_s entry;
+ u8 reserved[5];
+} PACKED;
+
+#define PMM_FUNCTION_NOT_SUPPORTED 0xffffffff
+
+#endif // pmm.h