1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 61 unchanged lines hidden (view full) --- 70 brk_point = objFile->dataBase() + objFile->dataSize() + objFile->bssSize(); 71 brk_point = roundUp(brk_point, VMPageSize); 72 73 // Set up region for mmaps. For now, start at bottom of kuseg space. 74 mmap_start = mmap_end = 0x40000000L; 75} 76 77void |
78ArmLiveProcess::initState() |
79{ |
80 LiveProcess::initState(); |
81 argsInit(MachineBytes, VMPageSize); 82 for (int i = 0; i < contextIds.size(); i++) { 83 ThreadContext * tc = system->getThreadContext(contextIds[i]); 84 CPACR cpacr = tc->readMiscReg(MISCREG_CPACR); 85 // Enable the floating point coprocessors. 86 cpacr.cp10 = 0x3; 87 cpacr.cp11 = 0x3; 88 tc->setMiscReg(MISCREG_CPACR, cpacr); --- 305 unchanged lines hidden --- |