Fixed typo. Since these bits are reserved, it has no effect on the emulation.
TODO: Review HPET code (verify patch by Oleg).
This commit is contained in:
parent
ee62fc83a6
commit
49d1755557
@ -9,7 +9,7 @@
|
|||||||
//
|
//
|
||||||
// Authors: Beth Kon <bkon@us.ibm.com>
|
// Authors: Beth Kon <bkon@us.ibm.com>
|
||||||
//
|
//
|
||||||
// Copyright (C) 2017 The Bochs Project
|
// Copyright (C) 2017-2018 The Bochs Project
|
||||||
//
|
//
|
||||||
// This library is free software; you can redistribute it and/or
|
// This library is free software; you can redistribute it and/or
|
||||||
// modify it under the terms of the GNU Lesser General Public
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
@ -367,7 +367,7 @@ Bit32u bx_hpet_c::read_aligned(bx_phy_address address)
|
|||||||
case HPET_STATUS:
|
case HPET_STATUS:
|
||||||
value = (Bit32u)s.isr;
|
value = (Bit32u)s.isr;
|
||||||
break;
|
break;
|
||||||
case HPET_STATUS + 2:
|
case HPET_STATUS + 4:
|
||||||
value = (Bit32u)(s.isr >> 32);
|
value = (Bit32u)(s.isr >> 32);
|
||||||
break;
|
break;
|
||||||
case HPET_COUNTER:
|
case HPET_COUNTER:
|
||||||
|
Loading…
Reference in New Issue
Block a user