isa.cc (10905:a6ca6831e775) isa.cc (11150:a8a64cca231b)
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;

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

586 break;
587 case MISCREG_PSTATE:
588 pstate = val & PstateMask;
589 return;
590 case MISCREG_TL:
591 {
592 tl = val;
593 if (hpstate.tlz && tl == 0 && !hpstate.hpriv)
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;

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

586 break;
587 case MISCREG_PSTATE:
588 pstate = val & PstateMask;
589 return;
590 case MISCREG_TL:
591 {
592 tl = val;
593 if (hpstate.tlz && tl == 0 && !hpstate.hpriv)
594 tc->getCpuPtr()->postInterrupt(IT_TRAP_LEVEL_ZERO, 0);
594 tc->getCpuPtr()->postInterrupt(0, IT_TRAP_LEVEL_ZERO, 0);
595 else
595 else
596 tc->getCpuPtr()->clearInterrupt(IT_TRAP_LEVEL_ZERO, 0);
596 tc->getCpuPtr()->clearInterrupt(0, IT_TRAP_LEVEL_ZERO, 0);
597 return;
598 }
599 case MISCREG_CWP:
600 new_val = val >= NWindows ? NWindows - 1 : val;
601 if (val >= NWindows)
602 new_val = NWindows - 1;
603
604 installWindow(new_val, CurrentWindowOffset);

--- 201 unchanged lines hidden ---
597 return;
598 }
599 case MISCREG_CWP:
600 new_val = val >= NWindows ? NWindows - 1 : val;
601 if (val >= NWindows)
602 new_val = NWindows - 1;
603
604 installWindow(new_val, CurrentWindowOffset);

--- 201 unchanged lines hidden ---