Deleted Added
sdiff udiff text old ( 8022:15bece33379b ) new ( 8023:36c59449dc93 )
full compact
1/*
2 * Copyright (c) 2003, 2004
3 * The Regents of The University of Michigan
4 * All Rights Reserved
5 *
6 * This code is part of the M5 simulator, developed by Nathan Binkert,
7 * Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
8 * from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew

--- 173 unchanged lines hidden (view full) ---

182 m5Conf.entryPoint = m5AlphaAccess->entryPoint;
183 m5Conf.diskUnit = m5AlphaAccess->diskUnit;
184 m5Conf.diskCount = m5AlphaAccess->diskCount;
185 m5Conf.diskPAddr = m5AlphaAccess->diskPAddr;
186 m5Conf.diskBlock = m5AlphaAccess->diskBlock;
187 m5Conf.diskOperation = m5AlphaAccess->diskOperation;
188 m5Conf.outputChar = m5AlphaAccess->outputChar;
189 m5Conf.inputChar = m5AlphaAccess->inputChar;
190
191 if (m5Conf.version != ALPHA_ACCESS_VERSION) {
192 panic("Console version mismatch. Console expects %d. has %d \n",
193 ALPHA_ACCESS_VERSION, m5Conf.version);
194 }
195
196 /*
197 * setup arguments to kernel

--- 538 unchanged lines hidden (view full) ---

736 *lp2 = sum;
737
738 /*
739 * MP bootstrap
740 */
741 for (i = 1; i < m5Conf.numCPUs; i++) {
742 ulong stack = (ulong)unix_boot_alloc(1);
743 printf_lock("Bootstraping CPU %d with sp=0x%x\n", i, stack);
744 m5AlphaAccess->cpuStack[i] = stack;
745 }
746
747 /*
748 * Make sure that we are not stepping on the kernel
749 */
750 if ((ulong)unix_boot_mem >= (ulong)m5Conf.kernStart) {
751 panic("CONSOLE: too much memory. Smashing kernel\n");
752 } else {

--- 346 unchanged lines hidden ---