summaryrefslogtreecommitdiff
path: root/arch/alpha/system.cc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/system.cc')
-rw-r--r--arch/alpha/system.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/system.cc b/arch/alpha/system.cc
index 21ffa350b..4234019cd 100644
--- a/arch/alpha/system.cc
+++ b/arch/alpha/system.cc
@@ -107,9 +107,9 @@ AlphaSystem::AlphaSystem(Params *p)
if (consoleSymtab->findAddress("m5_rpb", addr)) {
uint64_t data;
data = htog(params()->system_type);
- virtPort.write(addr, data);
+ virtPort.write(addr+0x50, data);
data = htog(params()->system_rev);
- virtPort.write(addr, data);
+ virtPort.write(addr+0x58, data);
} else
panic("could not find hwrpb\n");