utility.hh (8229:78bf55f23338) utility.hh (8300:eb279d6e08a2)
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;

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

89void skipFunction(ThreadContext *tc);
90
91inline void
92advancePC(PCState &pc, const StaticInstPtr inst)
93{
94 inst->advancePC(pc);
95}
96
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;

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

89void skipFunction(ThreadContext *tc);
90
91inline void
92advancePC(PCState &pc, const StaticInstPtr inst)
93{
94 inst->advancePC(pc);
95}
96
97inline uint64_t
98getExecutingAsid(ThreadContext *tc)
99{
100 return tc->readMiscRegNoEffect(MISCREG_MMU_P_CONTEXT);
101}
102
97} // namespace SparcISA
98
99#endif
103} // namespace SparcISA
104
105#endif