utility.hh (8794:e2ac2b7164dd) utility.hh (10417:710ee116eb68)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

110void initCPU(ThreadContext *tc, int cpuId);
111
112void copyRegs(ThreadContext *src, ThreadContext *dest);
113void copyMiscRegs(ThreadContext *src, ThreadContext *dest);
114
115void skipFunction(ThreadContext *tc);
116
117inline void
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

110void initCPU(ThreadContext *tc, int cpuId);
111
112void copyRegs(ThreadContext *src, ThreadContext *dest);
113void copyMiscRegs(ThreadContext *src, ThreadContext *dest);
114
115void skipFunction(ThreadContext *tc);
116
117inline void
118advancePC(PCState &pc, const StaticInstPtr inst)
118advancePC(PCState &pc, const StaticInstPtr &inst)
119{
120 pc.advance();
121}
122
123inline uint64_t
124getExecutingAsid(ThreadContext *tc)
125{
126 return 0;
127}
128
129};
130
131
132#endif
119{
120 pc.advance();
121}
122
123inline uint64_t
124getExecutingAsid(ThreadContext *tc)
125{
126 return 0;
127}
128
129};
130
131
132#endif