diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-23 15:00:04 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-23 15:00:04 -0500 |
commit | a50e054ceded6fa3f700385ed93dcc76c05cb13b (patch) | |
tree | 71e585f8f1fb479c935cae15a89f6be0b4d7d511 /system/alpha/console/console.c | |
parent | c3d47c1de8db97e1bf6d4a075d9bcc42af010e34 (diff) | |
download | gem5-a50e054ceded6fa3f700385ed93dcc76c05cb13b.tar.xz |
change from bootStrap* to using the cpuStack array for setting up
other processor stacks
Diffstat (limited to 'system/alpha/console/console.c')
-rw-r--r-- | system/alpha/console/console.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/system/alpha/console/console.c b/system/alpha/console/console.c index e5be19f5f..1bf6a3ce2 100644 --- a/system/alpha/console/console.c +++ b/system/alpha/console/console.c @@ -187,8 +187,6 @@ main(int argc, char **argv) m5Conf.diskOperation = m5AlphaAccess->diskOperation; m5Conf.outputChar = m5AlphaAccess->outputChar; m5Conf.inputChar = m5AlphaAccess->inputChar; - m5Conf.bootStrapImpure = m5AlphaAccess->bootStrapImpure; - m5Conf.bootStrapCPU = m5AlphaAccess->bootStrapCPU; if (m5Conf.version != ALPHA_ACCESS_VERSION) { panic("Console version mismatch. Console expects %d. has %d \n", @@ -743,8 +741,7 @@ unixBoot(int argc, char **argv) for (i = 1; i < m5Conf.numCPUs; i++) { ulong stack = (ulong)unix_boot_alloc(1); printf_lock("Bootstraping CPU %d with sp=0x%x\n", i, stack); - m5AlphaAccess->bootStrapImpure = stack; - m5AlphaAccess->bootStrapCPU = i; + m5AlphaAccess->cpuStack[i] = stack; } /* |