utility.hh (4154:3c6a2c86e8aa) | utility.hh (4181:6edaeff44647) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 58 unchanged lines hidden (view full) --- 67namespace X86ISA 68{ 69 static inline bool 70 inUserMode(ThreadContext *tc) 71 { 72 return false; 73 } 74 | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 58 unchanged lines hidden (view full) --- 67namespace X86ISA 68{ 69 static inline bool 70 inUserMode(ThreadContext *tc) 71 { 72 return false; 73 } 74 |
75 inline ExtMachInst 76 makeExtMI(MachInst inst, ThreadContext * xc) { 77 return inst; | 75 PredecodeResult { 76 MoreBytes = 1, 77 ExtMIReady = 2 78 }; 79 80 unsigned int 81 predecode(ExtMachInst &extMachInst, Addr currPC, MachInst machInst, 82 ThreadContext * xc) { 83 //Do something to fill up extMachInst... 84 return MoreBytes | ExtMIReady; |
78 } 79 80 inline bool isCallerSaveIntegerRegister(unsigned int reg) { 81 panic("register classification not implemented"); 82 return false; 83 } 84 85 inline bool isCalleeSaveIntegerRegister(unsigned int reg) { --- 46 unchanged lines hidden --- | 85 } 86 87 inline bool isCallerSaveIntegerRegister(unsigned int reg) { 88 panic("register classification not implemented"); 89 return false; 90 } 91 92 inline bool isCalleeSaveIntegerRegister(unsigned int reg) { --- 46 unchanged lines hidden --- |