summaryrefslogtreecommitdiff
path: root/src/dev/x86/intdev.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-26 02:09:27 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-26 02:09:27 -0700
commit2f34a7eaeb6d82b745fbd57fa4cc31d874ed202c (patch)
treed92201550da7dd68146ef0e43b862c61611cab38 /src/dev/x86/intdev.hh
parent88ab4bb257265cee555baafb940cee42c12f159a (diff)
downloadgem5-2f34a7eaeb6d82b745fbd57fa4cc31d874ed202c.tar.xz
X86: Tell the function that sends int messages who to send to instead of figuring it out itself.
Diffstat (limited to 'src/dev/x86/intdev.hh')
-rw-r--r--src/dev/x86/intdev.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh
index 3a99783f7..c2c8057b9 100644
--- a/src/dev/x86/intdev.hh
+++ b/src/dev/x86/intdev.hh
@@ -43,8 +43,12 @@
#include "params/X86IntSinkPin.hh"
#include "params/X86IntLine.hh"
+#include <list>
+
namespace X86ISA {
+typedef std::list<int> ApicList;
+
class IntDev
{
protected:
@@ -78,7 +82,8 @@ class IntDev
// 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 sendMessage(ApicList apics,
+ TriggerIntMessage message, bool timing);
void recvStatusChange(Status status)
{