summaryrefslogtreecommitdiffstats
path: root/qemu/roms/seabios/src/std/pmm.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/seabios/src/std/pmm.h')
-rw-r--r--qemu/roms/seabios/src/std/pmm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/qemu/roms/seabios/src/std/pmm.h b/qemu/roms/seabios/src/std/pmm.h
new file mode 100644
index 000000000..80027f38b
--- /dev/null
+++ b/qemu/roms/seabios/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