diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2003-11-03 20:35:05 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2003-11-03 20:35:05 -0800 |
commit | e4b52476bc00fe8c0115ee5ec6e9551447cb04a3 (patch) | |
tree | 0671e5be86419c60743915af2f3503fa6de28ac4 /cpu/intr_control.hh | |
parent | 02795babaf52cbf6f8c29bbb2aecfc0e60b46b63 (diff) | |
parent | 29474bdf027fe3396e0be2f6acbe2a6b89136bc2 (diff) | |
download | gem5-e4b52476bc00fe8c0115ee5ec6e9551447cb04a3.tar.xz |
Automerge
--HG--
extra : convert_revision : 2ca18ecbf04a1de72391073d0a5309fdbbdfefda
Diffstat (limited to 'cpu/intr_control.hh')
-rw-r--r-- | cpu/intr_control.hh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cpu/intr_control.hh b/cpu/intr_control.hh index b8fa68f52..37e62ed00 100644 --- a/cpu/intr_control.hh +++ b/cpu/intr_control.hh @@ -29,9 +29,13 @@ #ifndef __INTR_CONTROL_HH__ #define __INTR_CONTROL_HH__ +#include <vector> #include "base/misc.hh" #include "cpu/base_cpu.hh" #include "sim/sim_object.hh" +#include "sim/system.hh" +#include "cpu/exec_context.hh" + class IntrControl : public SimObject { @@ -41,16 +45,10 @@ class IntrControl : public SimObject void clear(int int_num, int index = 0); void post(int int_num, int index = 0); + void clear(int cpu_id, int int_num, int index); + void post(int cpu_id, int int_num, int index); }; -inline void -IntrControl::post(int int_num, int index) -{ cpu->post_interrupt(int_num, index); } - -inline void -IntrControl::clear(int int_num, int index) -{ cpu->clear_interrupt(int_num, index); } - #endif // __INTR_CONTROL_HH__ |