system.hh (3565:6ad587fb7dfd) | system.hh (4762:c94e103c83ad) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 27 unchanged lines hidden (view full) --- 36class ThreadContext; 37 38class BreakPCEvent; 39class IdleStartEvent; 40 41#include "arch/alpha/idle_event.hh" 42#include "arch/alpha/system.hh" 43#include "kern/linux/events.hh" | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 27 unchanged lines hidden (view full) --- 36class ThreadContext; 37 38class BreakPCEvent; 39class IdleStartEvent; 40 41#include "arch/alpha/idle_event.hh" 42#include "arch/alpha/system.hh" 43#include "kern/linux/events.hh" |
44#include "params/LinuxAlphaSystem.hh" |
|
44 45using namespace AlphaISA; 46using namespace Linux; 47 48/** 49 * This class contains linux specific system code (Loading, Events). 50 * It points to objects that are the system binaries to load and patches them 51 * appropriately to work in simulator. --- 72 unchanged lines hidden (view full) --- 124 * Thread is set 125 */ 126 PrintThreadInfo *printThreadEvent; 127 128 /** Grab the PCBB of the idle process when it starts */ 129 IdleStartEvent *idleStartEvent; 130 131 public: | 45 46using namespace AlphaISA; 47using namespace Linux; 48 49/** 50 * This class contains linux specific system code (Loading, Events). 51 * It points to objects that are the system binaries to load and patches them 52 * appropriately to work in simulator. --- 72 unchanged lines hidden (view full) --- 125 * Thread is set 126 */ 127 PrintThreadInfo *printThreadEvent; 128 129 /** Grab the PCBB of the idle process when it starts */ 130 IdleStartEvent *idleStartEvent; 131 132 public: |
133 typedef LinuxAlphaSystemParams Params; |
|
132 LinuxAlphaSystem(Params *p); 133 ~LinuxAlphaSystem(); 134 135 void setDelayLoop(ThreadContext *tc); 136}; 137 138#endif // __ARCH_ALPHA_LINUX_SYSTEM_HH__ | 134 LinuxAlphaSystem(Params *p); 135 ~LinuxAlphaSystem(); 136 137 void setDelayLoop(ThreadContext *tc); 138}; 139 140#endif // __ARCH_ALPHA_LINUX_SYSTEM_HH__ |