projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3420ad7
)
X86: Change the default value for the IO APIC redirection table.
author
Gabe Black
<gblack@eecs.umich.edu>
Sun, 12 Oct 2008 20:35:26 +0000
(13:35 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Sun, 12 Oct 2008 20:35:26 +0000
(13:35 -0700)
src/dev/x86/i82094aa.cc
patch
|
blob
|
history
diff --git
a/src/dev/x86/i82094aa.cc
b/src/dev/x86/i82094aa.cc
index f944e71715da488d8a38c0bb8fe2a518f76ffebf..1ae3b01cfd4125b132ddcb8580788646a42604b6 100644
(file)
--- a/
src/dev/x86/i82094aa.cc
+++ b/
src/dev/x86/i82094aa.cc
@@
-42,7
+42,11
@@
X86ISA::I82094AA::I82094AA(Params *p) : PioDevice(p), IntDev(this),
assert(id <= 0xf);
arbId = id;
regSel = 0;
- memset(redirTable, 0, sizeof(RedirTableEntry) * TableSize);
+ RedirTableEntry entry = 0;
+ entry.mask = 1;
+ for (int i = 0; i < TableSize; i++) {
+ redirTable[i] = entry;
+ }
}
Tick