summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-10-17 22:32:17 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-10-17 22:32:17 -0500
commitb5a71e5e52b9af9f62ee9eea3701576628bca5f5 (patch)
tree2ba0ea14214e174a65a79120a85763c33e3ea752 /sim
parentd25716935800d20b124b1e90a44639f321dfb733 (diff)
parent3ef950abba818e0f6b0fa4c8acc39cfb6ae11a28 (diff)
downloadgem5-b5a71e5e52b9af9f62ee9eea3701576628bca5f5.tar.xz
Merge saidi@zizzer.eecs.umich.edu:/bk/m5
into ali-saidis-computer.local:/research/m5 --HG-- extra : convert_revision : 0b97ac6ae704e47023bb9db9694004022c548b4f
Diffstat (limited to 'sim')
-rw-r--r--sim/system.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/system.cc b/sim/system.cc
index f8312e33b..9fdadf649 100644
--- a/sim/system.cc
+++ b/sim/system.cc
@@ -156,8 +156,8 @@ System::System(Params *p)
if (!hwrpb)
panic("could not translate hwrpb addr\n");
- *(uint64_t*)(hwrpb+0x50) = params->system_type;
- *(uint64_t*)(hwrpb+0x58) = params->system_rev;
+ *(uint64_t*)(hwrpb+0x50) = htoa(params->system_type);
+ *(uint64_t*)(hwrpb+0x58) = htoa(params->system_rev);
} else
panic("could not find hwrpb\n");