aboutsummaryrefslogtreecommitdiffstats
path: root/src/biosvar.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-05-06 23:20:03 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-05-06 23:20:03 -0400
commit3d292137cd5e0ef7791b3f8ba22238da7f033c2e (patch)
tree25b417d9045ac317aef87ec15564efcb545c0552 /src/biosvar.h
parent7e6dfd841e787499a4c84ccb134b2e3d621d7147 (diff)
downloadseabios-3d292137cd5e0ef7791b3f8ba22238da7f033c2e.tar.gz
Minor - add some additional vga definitions of bda.
Diffstat (limited to 'src/biosvar.h')
-rw-r--r--src/biosvar.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index 369f4ea7..fceb8762 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -25,6 +25,8 @@ struct rmode_IVT {
} ivec[256];
};
+#define GET_IVT(vector) \
+ GET_FARVAR(SEG_IVT, ((struct rmode_IVT *)0)->ivec[vector])
#define SET_IVT(vector, seg, off) \
SET_FARVAR(SEG_IVT, ((struct rmode_IVT *)0)->ivec[vector].segoff, ((seg) << 16) | (off))
@@ -106,6 +108,13 @@ struct bios_data_area_s {
u32 user_wait_timeout;
// 40:A0
u8 rtc_wait_flag;
+ u8 other_a1[7];
+ u16 video_savetable_ptr;
+ u16 video_savetable_seg;
+ u8 other_ac[4];
+ // 40:B0
+ u8 other_b0[10];
+ u16 vbe_mode;
} PACKED;
// BDA floppy_recalibration_status bitdefs