Displaying 1 result from an estimated 1 matches for "memdisk_header".
2009 Dec 07
3
[PATCH] memdisk: "safe hook" and mBFT
...blic License as published by
@@ -13,6 +13,7 @@
* ----------------------------------------------------------------------- */
#include <stdint.h>
+#include "acpi.h"
#include "bda.h"
#include "dskprobe.h"
#include "e820.h"
@@ -47,6 +48,18 @@ struct memdisk_header {
uint16_t iret_offs;
};
+struct safe_hook {
+ uint8_t jump[3]; /* Max. three bytes for jump */
+ uint8_t signature[8]; /* "$INT13SF" */
+ uint8_t vendor[8]; /* "MEMDISK " */
+ uint32_t old_hook; /* SEG:OFF for previous INT 13h hook */
+ uint32_t flags;...