Fixed dfr register in apic
This commit is contained in:
parent
21d753c378
commit
87268a1ba5
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: apic.cc,v 1.125 2009-02-20 17:35:55 sshwarts Exp $
|
||||
// $Id: apic.cc,v 1.126 2009-02-20 20:44:20 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (c) 2002 Zwane Mwaikambo, Stanislav Shwartsman
|
||||
@ -552,7 +552,7 @@ Bit32u bx_local_apic_c::read_aligned(bx_phy_address addr)
|
||||
case BX_LAPIC_LDR: // logical destination
|
||||
data = (ldr & APIC_ID_MASK) << 24; break;
|
||||
case BX_LAPIC_DESTINATION_FORMAT:
|
||||
data = ((dest_format & 0xf) << 24) | 0x0fffffff; break;
|
||||
data = ((dest_format & 0xf) << 28) | 0x0fffffff; break;
|
||||
case BX_LAPIC_SPURIOUS_VECTOR:
|
||||
{
|
||||
Bit32u reg = spurious_vector;
|
||||
|
Loading…
Reference in New Issue
Block a user