isa_traits.hh (2972:f84c6c5309ce) isa_traits.hh (3093:b09c33e66bce)
1/*
2 * Copyright (c) 2003-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;

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

42class StaticInstPtr;
43
44namespace MipsISA
45{
46 using namespace LittleEndianGuest;
47
48 StaticInstPtr decodeInst(ExtMachInst);
49
1/*
2 * Copyright (c) 2003-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;

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

42class StaticInstPtr;
43
44namespace MipsISA
45{
46 using namespace LittleEndianGuest;
47
48 StaticInstPtr decodeInst(ExtMachInst);
49
50 // MIPS DOES a delay slot
51 #define ISA_HAS_DELAY_SLOT 1
52
50 const Addr PageShift = 13;
51 const Addr PageBytes = ULL(1) << PageShift;
52 const Addr PageMask = ~(PageBytes - 1);
53 const Addr PageOffset = PageBytes - 1;
54
55 // return a no-op instruction... used for instruction fetch faults
56 const ExtMachInst NoopMachInst = 0x00000000;
57

--- 64 unchanged lines hidden ---
53 const Addr PageShift = 13;
54 const Addr PageBytes = ULL(1) << PageShift;
55 const Addr PageMask = ~(PageBytes - 1);
56 const Addr PageOffset = PageBytes - 1;
57
58 // return a no-op instruction... used for instruction fetch faults
59 const ExtMachInst NoopMachInst = 0x00000000;
60

--- 64 unchanged lines hidden ---