ev5.cc (2984:797622d7b311) ev5.cc (3125:febd811bccc6)
1/*
2 * Copyright (c) 2002-2005 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;

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

549 // invalid IPR
550 return new UnimplementedOpcodeFault;
551 }
552
553 // no error...
554 return NoFault;
555}
556
1/*
2 * Copyright (c) 2002-2005 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;

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

549 // invalid IPR
550 return new UnimplementedOpcodeFault;
551 }
552
553 // no error...
554 return NoFault;
555}
556
557
557void
558AlphaISA::copyIprs(ThreadContext *src, ThreadContext *dest)
559{
560 for (int i = IPR_Base_DepTag; i < NumInternalProcRegs; ++i) {
561 dest->setMiscReg(i, src->readMiscReg(i));
562 }
563}
564
558void
559AlphaISA::copyIprs(ThreadContext *src, ThreadContext *dest)
560{
561 for (int i = IPR_Base_DepTag; i < NumInternalProcRegs; ++i) {
562 dest->setMiscReg(i, src->readMiscReg(i));
563 }
564}
565
566
565/**
566 * Check for special simulator handling of specific PAL calls.
567 * If return value is false, actual PAL call will be suppressed.
568 */
569bool
570SimpleThread::simPalCheck(int palFunc)
571{
572 if (kernelStats)

--- 20 unchanged lines hidden ---
567/**
568 * Check for special simulator handling of specific PAL calls.
569 * If return value is false, actual PAL call will be suppressed.
570 */
571bool
572SimpleThread::simPalCheck(int palFunc)
573{
574 if (kernelStats)

--- 20 unchanged lines hidden ---