Deleted Added
sdiff udiff text old ( 9423:43caa4ca5979 ) new ( 9544:1a075d9bc1bc )
full compact
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * Copyright (c) 2011 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 160 unchanged lines hidden (view full) ---

169 Interrupts * interrupts = dynamic_cast<Interrupts *>(
170 tc->getCpuPtr()->getInterruptController());
171 assert(interrupts);
172
173 interrupts->setRegNoEffect(APIC_ID, cpuId << 24);
174
175 interrupts->setRegNoEffect(APIC_VERSION, (5 << 16) | 0x14);
176
177 // TODO Set the SMRAM base address (SMBASE) to 0x00030000
178
179 tc->setMiscReg(MISCREG_VM_CR, 0);
180 tc->setMiscReg(MISCREG_IGNNE, 0);
181 tc->setMiscReg(MISCREG_SMM_CTL, 0);
182 tc->setMiscReg(MISCREG_VM_HSAVE_PA, 0);
183}
184

--- 52 unchanged lines hidden ---