diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-10-17 21:17:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-10-27 11:00:32 -0400 |
commit | 9978d49d1c858087de518a1d7391ba88aa0f5109 (patch) | |
tree | 7454cfc81f2c55c6839d06da8814c0a012e9a6e6 /src/std | |
parent | 78c42e504c4a93cc5802415ae5e4f69534e6c0fd (diff) | |
download | seabios-9978d49d1c858087de518a1d7391ba88aa0f5109.tar.gz |
vgabios: Don't declare custom internal BDA storage in std/bda.h
The vgabios uses storage in the BDA at offset 0xb9 for internal custom
storage (the contents do not appear to be part of any bios standard).
Move the description of this custom vgabios area from std/bda.h to
vgasrc/vgabios.h. Add two new macros (GET_BDA_EXT and SET_BDA_EXT).
This should make it more clear that the area is for custom internal
storage.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/std')
-rw-r--r-- | src/std/bda.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/std/bda.h b/src/std/bda.h index 948bdbf7..c321266e 100644 --- a/src/std/bda.h +++ b/src/std/bda.h @@ -95,12 +95,7 @@ struct bios_data_area_s { struct segoff_s video_savetable; u8 other_ac[4]; // 40:B0 - u8 other_b0[9]; - u8 vbe_flag; - u16 vbe_mode; - u8 other_bc[4]; - // 40:C0 - u8 other_c0[4*16]; + u8 other_b0[5*16]; } PACKED; // BDA floppy_recalibration_status bitdefs |