aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk/mstructs.h
diff options
context:
space:
mode:
Diffstat (limited to 'memdisk/mstructs.h')
-rw-r--r--memdisk/mstructs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/memdisk/mstructs.h b/memdisk/mstructs.h
index 47dffe95..e060aceb 100644
--- a/memdisk/mstructs.h
+++ b/memdisk/mstructs.h
@@ -106,7 +106,10 @@ struct mdi {
MEMDISK_PACKED_PREFIX
struct mBFT {
struct acpi_description_header acpi;
- struct safe_hook *safe_hook; /* "Safe hook" physical address */
+ union {
+ struct safe_hook *ptr;
+ uint32_t phys_addr;
+ } safe_hook; /* "Safe hook" physical address */
struct mdi mdi;
} MEMDISK_PACKED_POSTFIX;