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; --- 84 unchanged lines hidden (view full) --- 93 //Why does both the previous set of constants and this one exist? 94 const int PageShift = 13; 95 const int PageBytes = 1ULL << PageShift; 96 97 const int BranchPredAddrShiftAmt = 2; 98 99 StaticInstPtr decodeInst(ExtMachInst); 100 |
101 /////////// TLB Stuff //////////// 102 const Addr StartVAddrHole = ULL(0x0000800000000000); 103 const Addr EndVAddrHole = ULL(0xFFFF7FFFFFFFFFFF); 104 const Addr VAddrAMask = ULL(0xFFFFFFFF); 105 const Addr PAddrImplMask = ULL(0x000000FFFFFFFFFF); 106 const Addr BytesInPageMask = ULL(0x1FFF); 107 |
108#if FULL_SYSTEM 109 // I don't know what it's for, so I don't 110 // know what SPARC's value should be 111 // For loading... XXX This maybe could be USegEnd?? --ali 112 const Addr LoadAddrMask = ULL(0xffffffffff); 113 |
114 enum InterruptTypes 115 { 116 IT_TRAP_LEVEL_ZERO, 117 IT_HINTP, 118 IT_INT_VEC, 119 IT_CPU_MONDO, 120 IT_DEV_MONDO, 121 IT_RES_ERROR, 122 IT_SOFT_INT, 123 NumInterruptTypes 124 }; 125 126#endif 127} 128 129#endif // __ARCH_SPARC_ISA_TRAITS_HH__ |