diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-02-18 23:36:03 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-18 23:36:03 -0500 |
commit | 89a2f96de451d2dd4ea887b41c5425b051c93f8b (patch) | |
tree | b89b327f7ee8d301d9ad0954e5f2520d64bd4ad7 /src/vgahooks.c | |
parent | 4195349d78a215253e4ac1a0e1395dd4c8a7318c (diff) | |
download | seabios-89a2f96de451d2dd4ea887b41c5425b051c93f8b.tar.gz |
Convert VAR16VISIBLE, VAR16EXPORT, and VAR32VISIBLE to VARFSEG.
Convert all users of the alternative variable exports to VARFSEG.
There isn't a significant distinction between the existing types of
exports, so it's simpler to just use one type going forward.
The new VARFSEG declaration is only emitting when in 32bit mode, so
update and move some variables as needed.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/vgahooks.c')
-rw-r--r-- | src/vgahooks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vgahooks.c b/src/vgahooks.c index 20a2e2e2..c9a44488 100644 --- a/src/vgahooks.c +++ b/src/vgahooks.c @@ -15,7 +15,7 @@ #define VH_VIA 1 #define VH_INTEL 2 -int VGAHookHandlerType VAR16VISIBLE; +int VGAHookHandlerType VARFSEG; static void handle_155fXX(struct bregs *regs) @@ -28,7 +28,7 @@ handle_155fXX(struct bregs *regs) * Via hooks ****************************************************************/ -int ViaFBsize VAR16VISIBLE, ViaRamSpeed VAR16VISIBLE; +int ViaFBsize VARFSEG, ViaRamSpeed VARFSEG; static void via_155f01(struct bregs *regs) @@ -167,7 +167,7 @@ via_setup(struct pci_device *pci) * Intel VGA hooks ****************************************************************/ -u8 IntelDisplayType VAR16VISIBLE, IntelDisplayId VAR16VISIBLE; +u8 IntelDisplayType VARFSEG, IntelDisplayId VARFSEG; static void intel_155f35(struct bregs *regs) |