projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more linker protections around variables accessed from 16bit mode.
[seabios.git]
/
src
/
system.c
diff --git
a/src/system.c
b/src/system.c
index abbfbbf82ad6fa96404d35c0c25c09b742b54302..7a0d20c4a9b3ad53fdd3a62a371d58a5fc0e4e62 100644
(file)
--- a/
src/system.c
+++ b/
src/system.c
@@
-267,12
+267,12
@@
handle_15e801(struct bregs *regs)
}
// Info on e820 map location and size.
}
// Info on e820 map location and size.
-struct e820entry *e820_list VAR16;
-int e820_count VAR16;
+struct e820entry *e820_list VAR16
_32
;
+int e820_count VAR16
_32
;
// Amount of continuous ram under 4Gig
// Amount of continuous ram under 4Gig
-u32 RamSize VAR16;
+u32 RamSize VAR16
_32
;
// Amount of continuous ram >4Gig
// Amount of continuous ram >4Gig
-u64 RamSizeOver4G
VAR16
;
+u64 RamSizeOver4G;
static void
handle_15e820(struct bregs *regs)
static void
handle_15e820(struct bregs *regs)