projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a6723e
)
X86: Make the apic ID register work.
author
Gabe Black
<gblack@eecs.umich.edu>
Thu, 12 Jun 2008 04:53:43 +0000
(
00:53
-0400)
committer
Gabe Black
<gblack@eecs.umich.edu>
Thu, 12 Jun 2008 04:53:43 +0000
(
00:53
-0400)
src/arch/x86/miscregfile.cc
patch
|
blob
|
history
diff --git
a/src/arch/x86/miscregfile.cc
b/src/arch/x86/miscregfile.cc
index 7fce43c1d319df3565b867bae36f9b984060b4a9..d52d5691525c857b6e92ccc6e7ecdffb2882d828 100644
(file)
--- a/
src/arch/x86/miscregfile.cc
+++ b/
src/arch/x86/miscregfile.cc
@@
-219,7
+219,7
@@
void MiscRegFile::setReg(int miscReg,
}
switch (miscReg) {
case MISCREG_APIC_ID:
-
panic("Local APIC ID register unimplemented.\n")
;
+
newVal = val & 0xFF
;
break;
case MISCREG_APIC_VERSION:
// The Local APIC Version register is read only.