faults.cc (8961:ff4762285f99) faults.cc (9763:f44ff0beb51b)
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

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

263 tc->setMiscReg(MISCREG_DR0, 0);
264 tc->setMiscReg(MISCREG_DR1, 0);
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
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

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

263 tc->setMiscReg(MISCREG_DR0, 0);
264 tc->setMiscReg(MISCREG_DR1, 0);
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
271 // Update the handy M5 Reg.
272 tc->setMiscReg(MISCREG_M5_REG, 0);
273 MicroPC entry = X86ISAInst::RomLabels::extern_label_initIntHalt;
274 pc.upc(romMicroPC(entry));
275 pc.nupc(romMicroPC(entry) + 1);
276 tc->pcState(pc);
277 }
278

--- 20 unchanged lines hidden ---
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 ---