summaryrefslogtreecommitdiff
path: root/dev/alpha_console.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-23 15:07:09 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-23 15:07:09 -0400
commit231fac0a2b4ed7c882c6d83c279bf2a4d2083726 (patch)
treef951bf16ef486951c3b31cb135bfc58fe0aa177d /dev/alpha_console.cc
parent3f7b780af5530cc60228ebd3e895ab26d477614e (diff)
downloadgem5-231fac0a2b4ed7c882c6d83c279bf2a4d2083726.tar.xz
more modifications for cross-endian support. linux now gets to pciconfig
dev/alpha_console.cc: rather than acessing a byte array for alpha access, access the members **this requires an updated console** dev/pcidev.cc: correctly type all the pci data and store in in little endian no matter what system we are on dev/tsunami_uart.cc: correct a bug with the data type. kern/linux/linux_system.cc: system type in hwprb needs to be endian happy as well. --HG-- extra : convert_revision : 8de9bb69365b5d30fceaf4fa342a1639f92d7a83
Diffstat (limited to 'dev/alpha_console.cc')
-rw-r--r--dev/alpha_console.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/alpha_console.cc b/dev/alpha_console.cc
index f8870496f..5c4858ee5 100644
--- a/dev/alpha_console.cc
+++ b/dev/alpha_console.cc
@@ -80,6 +80,16 @@ AlphaConsole::AlphaConsole(const string &name, SimConsole *cons, SimpleDisk *d,
alphaAccess->cpuClock = cpu->getFreq() / 1000000;
alphaAccess->intrClockFrequency = platform->intrFrequency();
alphaAccess->diskUnit = 1;
+
+ alphaAccess->diskCount = 0;
+ alphaAccess->diskPAddr = 0;
+ alphaAccess->diskBlock = 0;
+ alphaAccess->diskOperation = 0;
+ alphaAccess->outputChar = 0;
+ alphaAccess->inputChar = 0;
+ alphaAccess->bootStrapImpure = 0;
+ alphaAccess->bootStrapCPU = 0;
+ alphaAccess->align2 = 0;
}
Fault