diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 13:51:48 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-12 13:51:48 -0700 |
commit | c35da8e495e9f2697a252e8e828e6d7760a8a2db (patch) | |
tree | 82c72dbb3da2e1d54b66c978448b7cca0c937286 /src/dev/x86/i8259.hh | |
parent | ec9d3aad71ec75b3f7b5ea96dd41f067a9261392 (diff) | |
download | gem5-c35da8e495e9f2697a252e8e828e6d7760a8a2db.tar.xz |
X86: Actually use the extra vector bits we get from ICW2.
Diffstat (limited to 'src/dev/x86/i8259.hh')
-rw-r--r-- | src/dev/x86/i8259.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dev/x86/i8259.hh b/src/dev/x86/i8259.hh index 7804fe3b7..107cd015c 100644 --- a/src/dev/x86/i8259.hh +++ b/src/dev/x86/i8259.hh @@ -53,6 +53,9 @@ class I8259 : public BasicPioDevice, public IntDev // Interrupt Mask Register uint8_t IMR; + // The higher order bits of the vector to return + uint8_t vectorOffset; + bool cascadeMode; // A bit vector of lines with slaves attached, or the slave id, depending // on if this is a master or slave PIC. @@ -77,7 +80,7 @@ class I8259 : public BasicPioDevice, public IntDev I8259(Params * p) : BasicPioDevice(p), IntDev(this), latency(p->pio_latency), output(p->output), mode(p->mode), IRR(0), ISR(0), IMR(0), - readIRR(true), initControlWord(0) + vectorOffset(0), readIRR(true), initControlWord(0) { pioSize = 2; } |