ua2005.cc (4194:af4f6022394b) | ua2005.cc (4207:3ebd72381185) |
---|---|
1/* 2 * Copyright (c) 2006 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; --- 221 unchanged lines hidden (view full) --- 230 case MISCREG_HINTP: 231 case MISCREG_HTSTATE: 232 case MISCREG_HSTICK_CMPR: 233 return readRegNoEffect(miscReg) ; 234 235 case MISCREG_HTBA: 236 return readRegNoEffect(miscReg) & ULL(~0x7FFF); 237 case MISCREG_HVER: | 1/* 2 * Copyright (c) 2006 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; --- 221 unchanged lines hidden (view full) --- 230 case MISCREG_HINTP: 231 case MISCREG_HTSTATE: 232 case MISCREG_HSTICK_CMPR: 233 return readRegNoEffect(miscReg) ; 234 235 case MISCREG_HTBA: 236 return readRegNoEffect(miscReg) & ULL(~0x7FFF); 237 case MISCREG_HVER: |
238 return NWindows | MaxTL << 8 | MaxGL << 16; | 238 // XXX set to match Legion 239 return ULL(0x3e) << 48 | 240 ULL(0x23) << 32 | 241 ULL(0x20) << 24 | 242 //MaxGL << 16 | XXX For some reason legion doesn't set GL 243 MaxTL << 8 | 244 (NWindows -1) << 0; |
239 240 case MISCREG_STRAND_STS_REG: 241 System *sys; 242 int x; 243 sys = tc->getSystemPtr(); 244 245 temp = readRegNoEffect(miscReg) & (STS::active | STS::speculative); 246 // Check that the CPU array is fully populated (by calling getNumCPus()) --- 89 unchanged lines hidden --- | 245 246 case MISCREG_STRAND_STS_REG: 247 System *sys; 248 int x; 249 sys = tc->getSystemPtr(); 250 251 temp = readRegNoEffect(miscReg) & (STS::active | STS::speculative); 252 // Check that the CPU array is fully populated (by calling getNumCPus()) --- 89 unchanged lines hidden --- |