utility.hh (8300:eb279d6e08a2) | utility.hh (8775:1e3ca5d77b53) |
---|---|
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 --- 94 unchanged lines hidden (view full) --- 103RoundPage(Addr addr) 104{ return (addr + PageBytes - 1) & ~(PageBytes - 1); } 105 106//////////////////////////////////////////////////////////////////////// 107// 108// CPU Utility 109// 110void startupCPU(ThreadContext *tc, int cpuId); | 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 --- 94 unchanged lines hidden (view full) --- 103RoundPage(Addr addr) 104{ return (addr + PageBytes - 1) & ~(PageBytes - 1); } 105 106//////////////////////////////////////////////////////////////////////// 107// 108// CPU Utility 109// 110void startupCPU(ThreadContext *tc, int cpuId); |
111void 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) --- 14 unchanged lines hidden --- | 112 113void copyRegs(ThreadContext *src, ThreadContext *dest); 114void copyMiscRegs(ThreadContext *src, ThreadContext *dest); 115 116void skipFunction(ThreadContext *tc); 117 118inline void 119advancePC(PCState &pc, const StaticInstPtr inst) --- 14 unchanged lines hidden --- |