utility.hh (9180:ee8d7a51651d) utility.hh (10407:a9023811bf9e)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007-2008 The Florida State University
4 * Copyright (c) 2009 The University of Edinburgh
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

54 * @param tc The thread context.
55 */
56template <class TC>
57void zeroRegisters(TC *tc);
58
59inline void
60startupCPU(ThreadContext *tc, int cpuId)
61{
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007-2008 The Florida State University
4 * Copyright (c) 2009 The University of Edinburgh
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

54 * @param tc The thread context.
55 */
56template <class TC>
57void zeroRegisters(TC *tc);
58
59inline void
60startupCPU(ThreadContext *tc, int cpuId)
61{
62 tc->activate(Cycles(0));
62 tc->activate();
63}
64
65void
66copyRegs(ThreadContext *src, ThreadContext *dest);
67
68static inline void
69copyMiscRegs(ThreadContext *src, ThreadContext *dest)
70{

--- 30 unchanged lines hidden ---
63}
64
65void
66copyRegs(ThreadContext *src, ThreadContext *dest);
67
68static inline void
69copyMiscRegs(ThreadContext *src, ThreadContext *dest)
70{

--- 30 unchanged lines hidden ---