Act like enabling CPUs is no big deal,

rather than a scary thing that might not work.
This commit is contained in:
Steve Reinhardt 2010-06-03 16:54:28 -07:00
parent f92e91e853
commit a529dbfe65

View file

@ -234,7 +234,7 @@ AlphaBackdoor::write(PacketPtr pkt)
default: default:
int cpunum = (daddr - offsetof(AlphaAccess, cpuStack)) / int cpunum = (daddr - offsetof(AlphaAccess, cpuStack)) /
sizeof(alphaAccess->cpuStack[0]); sizeof(alphaAccess->cpuStack[0]);
warn("%d: Trying to launch CPU number %d!", curTick, cpunum); inform("Launching CPU %d @ %d", cpunum, curTick);
assert(val > 0 && "Must not access primary cpu"); assert(val > 0 && "Must not access primary cpu");
if (cpunum >= 0 && cpunum < 64) if (cpunum >= 0 && cpunum < 64)
alphaAccess->cpuStack[cpunum] = val; alphaAccess->cpuStack[cpunum] = val;