faults.cc (9763:f44ff0beb51b) faults.cc (9765:da0e0df0ba97)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

265 tc->setMiscReg(MISCREG_DR2, 0);
266 tc->setMiscReg(MISCREG_DR3, 0);
267
268 tc->setMiscReg(MISCREG_DR6, 0x00000000ffff0ff0ULL);
269 tc->setMiscReg(MISCREG_DR7, 0x0000000000000400ULL);
270
271 tc->setMiscReg(MISCREG_MXCSR, 0x1f80);
272
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

265 tc->setMiscReg(MISCREG_DR2, 0);
266 tc->setMiscReg(MISCREG_DR3, 0);
267
268 tc->setMiscReg(MISCREG_DR6, 0x00000000ffff0ff0ULL);
269 tc->setMiscReg(MISCREG_DR7, 0x0000000000000400ULL);
270
271 tc->setMiscReg(MISCREG_MXCSR, 0x1f80);
272
273 // Flag all elements on the x87 stack as empty.
274 tc->setMiscReg(MISCREG_FTW, 0xFFFF);
275
273 // Update the handy M5 Reg.
274 tc->setMiscReg(MISCREG_M5_REG, 0);
275 MicroPC entry = X86ISAInst::RomLabels::extern_label_initIntHalt;
276 pc.upc(romMicroPC(entry));
277 pc.nupc(romMicroPC(entry) + 1);
278 tc->pcState(pc);
279 }
280

--- 20 unchanged lines hidden ---
276 // Update the handy M5 Reg.
277 tc->setMiscReg(MISCREG_M5_REG, 0);
278 MicroPC entry = X86ISAInst::RomLabels::extern_label_initIntHalt;
279 pc.upc(romMicroPC(entry));
280 pc.nupc(romMicroPC(entry) + 1);
281 tc->pcState(pc);
282 }
283

--- 20 unchanged lines hidden ---