backdoor.cc (5714:76abee886def) | backdoor.cc (7446:f056e1b65c13) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 220 unchanged lines hidden (view full) --- 229 230 case offsetof(AlphaAccess, outputChar): 231 terminal->out((char)(val & 0xff)); 232 break; 233 234 default: 235 int cpunum = (daddr - offsetof(AlphaAccess, cpuStack)) / 236 sizeof(alphaAccess->cpuStack[0]); | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 220 unchanged lines hidden (view full) --- 229 230 case offsetof(AlphaAccess, outputChar): 231 terminal->out((char)(val & 0xff)); 232 break; 233 234 default: 235 int cpunum = (daddr - offsetof(AlphaAccess, cpuStack)) / 236 sizeof(alphaAccess->cpuStack[0]); |
237 warn("%d: Trying to launch CPU number %d!", curTick, cpunum); | 237 inform("Launching CPU %d @ %d", cpunum, curTick); |
238 assert(val > 0 && "Must not access primary cpu"); 239 if (cpunum >= 0 && cpunum < 64) 240 alphaAccess->cpuStack[cpunum] = val; 241 else 242 panic("Unknown 64bit access, %#x\n", daddr); 243 } 244 245 pkt->makeAtomicResponse(); --- 65 unchanged lines hidden --- | 238 assert(val > 0 && "Must not access primary cpu"); 239 if (cpunum >= 0 && cpunum < 64) 240 alphaAccess->cpuStack[cpunum] = val; 241 else 242 panic("Unknown 64bit access, %#x\n", daddr); 243 } 244 245 pkt->makeAtomicResponse(); --- 65 unchanged lines hidden --- |