utility.hh (7720:65d338a8dba4) utility.hh (7748:7bf78d12b359)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

97 template <class TC>
98 void zeroRegisters(TC *tc);
99
100 inline void startupCPU(ThreadContext *tc, int cpuId)
101 {
102 tc->activate(0);
103 }
104
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

97 template <class TC>
98 void zeroRegisters(TC *tc);
99
100 inline void startupCPU(ThreadContext *tc, int cpuId)
101 {
102 tc->activate(0);
103 }
104
105 static inline void
106 copyRegs(ThreadContext *src, ThreadContext *dest)
107 {
108 panic("Copy Regs Not Implemented Yet\n");
109 }
105 void copyRegs(ThreadContext *src, ThreadContext *dest);
110
111 static inline void
112 copyMiscRegs(ThreadContext *src, ThreadContext *dest)
113 {
114 panic("Copy Misc. Regs Not Implemented Yet\n");
115 }
116
117 void initCPU(ThreadContext *tc, int cpuId);

--- 61 unchanged lines hidden ---
106
107 static inline void
108 copyMiscRegs(ThreadContext *src, ThreadContext *dest)
109 {
110 panic("Copy Misc. Regs Not Implemented Yet\n");
111 }
112
113 void initCPU(ThreadContext *tc, int cpuId);

--- 61 unchanged lines hidden ---