diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 02:42:19 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 02:42:19 -0700 |
commit | 9549694ecd1cc80e2b690631ea58d14778d368af (patch) | |
tree | e64227a28dddf384d04e338d19eb80e430deec11 /src/dev/x86/intdev.hh | |
parent | 06d25dcd26bda01ec1377d7c9ecdc3d4d05c49ce (diff) | |
download | gem5-9549694ecd1cc80e2b690631ea58d14778d368af.tar.xz |
X86: Make code that sends an interrupt from the IO APIC available for IPIs.
Diffstat (limited to 'src/dev/x86/intdev.hh')
-rw-r--r-- | src/dev/x86/intdev.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh index ca8e7eea5..e95c72058 100644 --- a/src/dev/x86/intdev.hh +++ b/src/dev/x86/intdev.hh @@ -35,6 +35,7 @@ #include <string> #include "arch/x86/x86_traits.hh" +#include "arch/x86/intmessage.hh" #include "mem/mem_object.hh" #include "mem/mport.hh" #include "sim/sim_object.hh" @@ -70,6 +71,10 @@ class IntDev return device->recvMessage(pkt); } + // This is x86 focused, so if this class becomes generic, this would + // need to be moved into a subclass. + void sendMessage(TriggerIntMessage message, bool timing); + void recvStatusChange(Status status) { if (status == RangeChange) { |