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; --- 31 unchanged lines hidden (view full) --- 40 41#include "arch/alpha/system.hh" 42#include "kern/linux/events.hh" 43 44using namespace AlphaISA; 45using namespace Linux; 46 47/** |
48 * This class contains linux specific system code (Loading, Events). |
49 * It points to objects that are the system binaries to load and patches them 50 * appropriately to work in simulator. 51 */ 52class LinuxAlphaSystem : public AlphaSystem 53{ 54 private: 55 class SkipDelayLoopEvent : public SkipFuncEvent 56 { --- 62 unchanged lines hidden (view full) --- 119 SkipDelayLoopEvent *skipDelayLoopEvent; 120 121 /** 122 * Event to print information about thread switches if the trace flag 123 * Thread is set 124 */ 125 PrintThreadInfo *printThreadEvent; 126 |
127 /** Grab the PCBB of the idle process when it starts */ 128 IdleStartEvent *idleStartEvent; 129 130 public: 131 LinuxAlphaSystem(Params *p); 132 ~LinuxAlphaSystem(); 133 134 void setDelayLoop(ThreadContext *tc); 135}; 136 137#endif // __ARCH_ALPHA_LINUX_SYSTEM_HH__ |