Add linker magic to ensure 16bit variables aren't repeated in 32bit code.
[seabios.git] / src / system.c
index 6615b31c4eb05ff3080110e5cb36a69dda6f2e3c..fcbbaf67a50e8201aa610ea8652d7c1772fc077f 100644 (file)
@@ -266,11 +266,9 @@ handle_15e801(struct bregs *regs)
     set_success(regs);
 }
 
-#if MODE16
 // Info on e820 map location and size.
-struct e820entry *e820_list VISIBLE16;
-int e820_count VISIBLE16;
-#endif
+struct e820entry *e820_list VAR16;
+int e820_count VAR16;
 
 static void
 handle_15e820(struct bregs *regs)