changeset 1da405503f06 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=1da405503f06
description:
ARM: Make GIC function that should only be called by GIC protected.
diffstat:
src/dev/arm/gic.hh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 36628df0362c -r 1da405503f06 src/dev/arm/gic.hh
--- a/src/dev/arm/gic.hh Fri Aug 19 15:08:08 2011 -0500
+++ b/src/dev/arm/gic.hh Fri Aug 19 15:08:08 2011 -0500
@@ -227,6 +227,10 @@
int intNumToWord(int num) const { return num >> 5; }
int intNumToBit(int num) const { return num % 32; }
+ /** Post an interrupt to a CPU
+ */
+ void postInt(uint32_t cpu, Tick when);
+
/** Event definition to post interrupt to CPU after a delay
*/
class PostIntEvent : public Event
@@ -301,10 +305,6 @@
* @param number number of interrupt to send */
void clearInt(uint32_t number);
- /** Post an interrupt to a CPU
- */
- void postInt(uint32_t cpu, Tick when);
-
/* Various functions fer testing and debugging */
void driveSPI(uint32_t spi);
void driveLegIRQ(bool state);
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev