summaryrefslogtreecommitdiff
path: root/src/biosvar.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-01-29 14:15:14 -0500
committerKevin O'Connor <kevin@koconnor.net>2012-02-01 20:42:51 -0500
commit745de855bda3b922babff9781a96dd8dc1898f27 (patch)
treef2ed9fb9e0ce3f8a9150c628c9f183bc19f12c7e /src/biosvar.h
parent9eb210023718c65a1300cb0b768ba478b0a2b211 (diff)
downloadqemu-seabios-745de855bda3b922babff9781a96dd8dc1898f27.tar.gz
Add TSC emulation layer for 386/486 CPUs.
Original patch from Rudolf Marek. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/biosvar.h')
-rw-r--r--src/biosvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index ad791ab..b6f7174 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -239,6 +239,10 @@ struct extended_bios_data_area_s {
u16 boot_sequence;
+ /* TSC emulation timekeepers */
+ u64 tsc_8254;
+ int last_tsc_8254;
+
// Stack space available for code that needs it.
u8 extra_stack[512] __aligned(8);
} PACKED;