utility.hh (10037:5cac77888310) | utility.hh (10407:a9023811bf9e) |
---|---|
1/* 2 * Copyright (c) 2010, 2012-2013 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 --- 90 unchanged lines hidden (view full) --- 99 * Function to insure ISA semantics about 0 registers. 100 * @param tc The thread context. 101 */ 102template <class TC> 103void zeroRegisters(TC *tc); 104 105inline void startupCPU(ThreadContext *tc, int cpuId) 106{ | 1/* 2 * Copyright (c) 2010, 2012-2013 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 --- 90 unchanged lines hidden (view full) --- 99 * Function to insure ISA semantics about 0 registers. 100 * @param tc The thread context. 101 */ 102template <class TC> 103void zeroRegisters(TC *tc); 104 105inline void startupCPU(ThreadContext *tc, int cpuId) 106{ |
107 tc->activate(Cycles(0)); | 107 tc->activate(); |
108} 109 110void copyRegs(ThreadContext *src, ThreadContext *dest); 111 112static inline void 113copyMiscRegs(ThreadContext *src, ThreadContext *dest) 114{ 115 panic("Copy Misc. Regs Not Implemented Yet\n"); --- 213 unchanged lines hidden --- | 108} 109 110void copyRegs(ThreadContext *src, ThreadContext *dest); 111 112static inline void 113copyMiscRegs(ThreadContext *src, ThreadContext *dest) 114{ 115 panic("Copy Misc. Regs Not Implemented Yet\n"); --- 213 unchanged lines hidden --- |