utility.hh (9180:ee8d7a51651d) utility.hh (10407:a9023811bf9e)
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;

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

72
73void initCPU(ThreadContext *tc, int cpuId);
74
75inline void
76startupCPU(ThreadContext *tc, int cpuId)
77{
78 // Other CPUs will get activated by IPIs
79 if (cpuId == 0 || !FullSystem)
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;

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

72
73void initCPU(ThreadContext *tc, int cpuId);
74
75inline void
76startupCPU(ThreadContext *tc, int cpuId)
77{
78 // Other CPUs will get activated by IPIs
79 if (cpuId == 0 || !FullSystem)
80 tc->activate(Cycles(0));
80 tc->activate();
81}
82
83void copyRegs(ThreadContext *src, ThreadContext *dest);
84
85void copyMiscRegs(ThreadContext *src, ThreadContext *dest);
86
87void skipFunction(ThreadContext *tc);
88

--- 15 unchanged lines hidden ---
81}
82
83void copyRegs(ThreadContext *src, ThreadContext *dest);
84
85void copyMiscRegs(ThreadContext *src, ThreadContext *dest);
86
87void skipFunction(ThreadContext *tc);
88

--- 15 unchanged lines hidden ---