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; --- 100 unchanged lines hidden (view full) --- 109 INTLEVEL_IRQ2 = 22, 110 INTLEVEL_IRQ3 = 23, 111 112 INTLEVEL_SERIAL = 33, 113 114 NumInterruptLevels = INTLEVEL_EXTERNAL_MAX 115 }; 116 |
117 // EV5 modes 118 enum mode_type 119 { 120 mode_kernel = 0, // kernel 121 mode_executive = 1, // executive (unused by unix) 122 mode_supervisor = 2, // supervisor (unused by unix) 123 mode_user = 3, // user mode 124 mode_number // number of modes --- 50 unchanged lines hidden (view full) --- 175 const int WordBytes = 4; 176 const int HalfwordBytes = 2; 177 const int ByteBytes = 1; 178 179 // return a no-op instruction... used for instruction fetch faults 180 // Alpha UNOP (ldq_u r31,0(r0)) 181 const ExtMachInst NoopMachInst = 0x2ffe0000; 182 |
183}; 184 185#endif // __ARCH_ALPHA_ISA_TRAITS_HH__ |