process.cc (3669:3607aaed36b6) | process.cc (4997:e7380529bd2d) |
---|---|
1/* 2 * Copyright (c) 2003-2004 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; --- 57 unchanged lines hidden (view full) --- 66} 67 68void 69AlphaLiveProcess::startup() 70{ 71 argsInit(MachineBytes, VMPageSize); 72 73 threadContexts[0]->setIntReg(GlobalPointerReg, objFile->globalPointer()); | 1/* 2 * Copyright (c) 2003-2004 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; --- 57 unchanged lines hidden (view full) --- 66} 67 68void 69AlphaLiveProcess::startup() 70{ 71 argsInit(MachineBytes, VMPageSize); 72 73 threadContexts[0]->setIntReg(GlobalPointerReg, objFile->globalPointer()); |
74 //Opperate in user mode 75 threadContexts[0]->setMiscRegNoEffect(IPR_ICM, 0x18); 76 //No super page mapping 77 threadContexts[0]->setMiscRegNoEffect(IPR_MCSR, 0); 78 //Set this to 0 for now, but it should be unique for each process 79 threadContexts[0]->setMiscRegNoEffect(IPR_DTB_ASN, M5_pid << 57); |
|
74} 75 76 | 80} 81 82 |