I'm thinking about how to create an ISA independent Interrupts base class, and I notice that this change:
https://gem5.googlesource.com/public/gem5/+/8a476d387c84f037d0ccf3cc20dc88870ab45fec Modified the semantics of the API a few years ago. There isn't very much information in the commit message (it fixed a bug. What bug? How did that fix it?), and if that really is how it needs to be and what makes sense, I think the API can be further simplified. Before really baking that in, however, I'd like to understand what was going on to drive that change. Looking at it, one thing that worries me is whether the state that determines checkInterrupts return value can change between when it's called and when getinterrupt is called later. Are those calls always right next to each other logically? Is there ever a time we'd call checkInterrupts and then not call getInterrupt right after if it returned true? Gabe _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
