style: fix indentation and formatting of the pseudo insts.

This commit is contained in:
Nathan Binkert 2008-07-11 08:52:50 -07:00
parent f90b08a5cc
commit 88766f7c71
2 changed files with 268 additions and 263 deletions

View file

@ -55,8 +55,8 @@ using namespace std;
using namespace Stats;
using namespace TheISA;
namespace PseudoInst
{
namespace PseudoInst {
void
arm(ThreadContext *tc)
{
@ -297,13 +297,16 @@ namespace PseudoInst
return result;
}
void debugbreak(ThreadContext *tc)
void
debugbreak(ThreadContext *tc)
{
debug_break();
}
void switchcpu(ThreadContext *tc)
void
switchcpu(ThreadContext *tc)
{
exitSimLoop("switchcpu");
}
}
/* namespace PseudoInst */ }

View file

@ -33,8 +33,8 @@ class ThreadContext;
//We need the "Tick" and "Addr" data types from here
#include "sim/host.hh"
namespace PseudoInst
{
namespace PseudoInst {
/**
* @todo these externs are only here for a hack in fullCPU::takeOver...
*/
@ -54,10 +54,12 @@ namespace PseudoInst
void dumpstats(ThreadContext *tc, Tick delay, Tick period);
void dumpresetstats(ThreadContext *tc, Tick delay, Tick period);
void m5checkpoint(ThreadContext *tc, Tick delay, Tick period);
uint64_t readfile(ThreadContext *tc, Addr vaddr, uint64_t len, uint64_t offset);
uint64_t readfile(ThreadContext *tc, Addr vaddr, uint64_t len,
uint64_t offset);
void debugbreak(ThreadContext *tc);
void switchcpu(ThreadContext *tc);
void addsymbol(ThreadContext *tc, Addr addr, Addr symbolAddr);
void anBegin(ThreadContext *tc, uint64_t cur);
void anWait(ThreadContext *tc, uint64_t cur, uint64_t wait);
}
/* namespace PsuedoInst */ }