isa.cc (9425:a24092160ec7) isa.cc (9461:67a6ba6604c8)
1/*
2 * Copyright (c) 2009 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

382 updateHandyM5Reg(regVal[MISCREG_EFER],
383 regVal[MISCREG_CR0],
384 regVal[MISCREG_CS_ATTR],
385 regVal[MISCREG_SS_ATTR],
386 regVal[MISCREG_RFLAGS],
387 NULL);
388}
389
1/*
2 * Copyright (c) 2009 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

382 updateHandyM5Reg(regVal[MISCREG_EFER],
383 regVal[MISCREG_CR0],
384 regVal[MISCREG_CS_ATTR],
385 regVal[MISCREG_SS_ATTR],
386 regVal[MISCREG_RFLAGS],
387 NULL);
388}
389
390void
391ISA::startup(ThreadContext *tc)
392{
393 tc->getDecoderPtr()->setM5Reg(regVal[MISCREG_M5_REG]);
390}
391
394}
395
396}
397
392X86ISA::ISA *
393X86ISAParams::create()
394{
395 return new X86ISA::ISA(this);
396}
398X86ISA::ISA *
399X86ISAParams::create()
400{
401 return new X86ISA::ISA(this);
402}