summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-23 18:39:11 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-23 18:39:11 -0400
commit4799a7b87439913765029117eb51fcacd6f07edb (patch)
treecfbe3c0f5aee6003a484ad693be4f885ab731dd9 /dev
parent17bfb1540e938406548202f3f1c941857f514c33 (diff)
downloadgem5-4799a7b87439913765029117eb51fcacd6f07edb.tar.xz
minor changes to endian code so that it runs on x86 linux
base/intmath.hh: only need FloorLog2(size_t) on a mac, so ifdefed for this dev/alpha_console.cc: Actually allocate the alphaAccess struct. --HG-- extra : convert_revision : 1f50b1a025c8ee728a9f3d2c603ea38347234f54
Diffstat (limited to 'dev')
-rw-r--r--dev/alpha_console.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/alpha_console.cc b/dev/alpha_console.cc
index 5c4858ee5..e94ca82ea 100644
--- a/dev/alpha_console.cc
+++ b/dev/alpha_console.cc
@@ -69,6 +69,7 @@ AlphaConsole::AlphaConsole(const string &name, SimConsole *cons, SimpleDisk *d,
pioInterface->addAddrRange(addr, addr + size);
}
+ alphaAccess = new AlphaAccess;
alphaAccess->last_offset = size - 1;
alphaAccess->kernStart = system->getKernelStart();
alphaAccess->kernEnd = system->getKernelEnd();