From 87268a1ba5a8853b4cc9278fa3efd3b2fa485a17 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Fri, 20 Feb 2009 20:44:20 +0000 Subject: [PATCH] Fixed dfr register in apic --- bochs/cpu/apic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bochs/cpu/apic.cc b/bochs/cpu/apic.cc index 636e5570f..eb1397946 100644 --- a/bochs/cpu/apic.cc +++ b/bochs/cpu/apic.cc @@ -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;