intdev.hh (8839:eeb293859255) intdev.hh (8851:7e966326ef5b)
1/*
2 * Copyright (c) 2008 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;

--- 70 unchanged lines hidden (view full) ---

79 }
80
81 // This is x86 focused, so if this class becomes generic, this would
82 // need to be moved into a subclass.
83 void sendMessage(ApicList apics,
84 TriggerIntMessage message, bool timing);
85 };
86
1/*
2 * Copyright (c) 2008 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;

--- 70 unchanged lines hidden (view full) ---

79 }
80
81 // This is x86 focused, so if this class becomes generic, this would
82 // need to be moved into a subclass.
83 void sendMessage(ApicList apics,
84 TriggerIntMessage message, bool timing);
85 };
86
87 IntPort * intPort;
87 IntPort intPort;
88
89 public:
88
89 public:
90 IntDev(MemObject * parent, Tick latency = 0)
90 IntDev(MemObject * parent, Tick latency = 0) :
91 intPort(parent->name() + ".int_master", parent, this, latency)
91 {
92 {
92 if (parent != NULL) {
93 intPort = new IntPort(parent->name() + ".int_master",
94 parent, this, latency);
95 } else {
96 intPort = NULL;
97 }
98 }
99
100 virtual ~IntDev()
101 {}
102
103 virtual void init();
104
105 virtual void

--- 124 unchanged lines hidden ---
93 }
94
95 virtual ~IntDev()
96 {}
97
98 virtual void init();
99
100 virtual void

--- 124 unchanged lines hidden ---