system.hh (2680:246e7104f744) system.hh (2716:b9114064d77a)
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/**
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, Binning).
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
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 /**
128 * Event to bin Interrupts seperately from kernel code
129 */
130 InterruptStartEvent *intStartEvent;
131
132 /**
133 * Event to bin Interrupts seperately from kernel code
134 */
135 InterruptEndEvent *intEndEvent;
136 InterruptEndEvent *intEndEvent2;
137 InterruptEndEvent *intEndEvent3;
138
139 /** Grab the PCBB of the idle process when it starts */
140 IdleStartEvent *idleStartEvent;
141
142 public:
143 LinuxAlphaSystem(Params *p);
144 ~LinuxAlphaSystem();
145
146 void setDelayLoop(ThreadContext *tc);
147};
148
149#endif // __ARCH_ALPHA_LINUX_SYSTEM_HH__
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__