diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2011-08-19 15:08:08 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2011-08-19 15:08:08 -0500 |
commit | 23755eb43428845737aa514314f1bd0ace5d5372 (patch) | |
tree | a6ac6f2ae0469ba3341de52f142a603757cdf34e /src/dev/arm | |
parent | 243223ae638e95cb6744f335010595c4de30d13c (diff) | |
download | gem5-23755eb43428845737aa514314f1bd0ace5d5372.tar.xz |
ARM: Make GIC function that should only be called by GIC protected.
Diffstat (limited to 'src/dev/arm')
-rw-r--r-- | src/dev/arm/gic.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/arm/gic.hh b/src/dev/arm/gic.hh index 810064ed4..4c43db660 100644 --- a/src/dev/arm/gic.hh +++ b/src/dev/arm/gic.hh @@ -227,6 +227,10 @@ class Gic : public PioDevice 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 @@ class Gic : public PioDevice * @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); |