utility.hh (7627:3b0c4b819651) utility.hh (7628:d9b98534a872)
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

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

62void zeroRegisters(TC *tc);
63
64inline void
65startupCPU(ThreadContext *tc, int cpuId)
66{
67 tc->activate(0);
68}
69
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

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

62void zeroRegisters(TC *tc);
63
64inline void
65startupCPU(ThreadContext *tc, int cpuId)
66{
67 tc->activate(0);
68}
69
70template <class XC>
71Fault
72checkFpEnableFault(XC *xc)
73{
74 return NoFault;
75}
76
77void
78copyRegs(ThreadContext *src, ThreadContext *dest);
79
80static inline void
81copyMiscRegs(ThreadContext *src, ThreadContext *dest)
82{
83}
84
85} // PowerISA namespace
86
87#endif // __ARCH_POWER_UTILITY_HH__
70void
71copyRegs(ThreadContext *src, ThreadContext *dest);
72
73static inline void
74copyMiscRegs(ThreadContext *src, ThreadContext *dest)
75{
76}
77
78} // PowerISA namespace
79
80#endif // __ARCH_POWER_UTILITY_HH__