process.cc (7532:3f6413fc37a2) | process.cc (7640:5286a8a469c5) |
---|---|
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 --- 64 unchanged lines hidden (view full) --- 73 mmap_start = mmap_end = 0x40000000L; 74} 75 76void 77ArmLiveProcess::startup() 78{ 79 LiveProcess::startup(); 80 argsInit(MachineBytes, VMPageSize); | 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 --- 64 unchanged lines hidden (view full) --- 73 mmap_start = mmap_end = 0x40000000L; 74} 75 76void 77ArmLiveProcess::startup() 78{ 79 LiveProcess::startup(); 80 argsInit(MachineBytes, VMPageSize); |
81 for (int i = 0; i < contextIds.size(); i++) { 82 ThreadContext * tc = system->getThreadContext(contextIds[i]); 83 CPACR cpacr = tc->readMiscReg(MISCREG_CPACR); 84 // Enable the floating point coprocessors. 85 cpacr.cp10 = 0x3; 86 cpacr.cp11 = 0x3; 87 tc->setMiscReg(MISCREG_CPACR, cpacr); 88 // Generically enable floating point support. 89 FPEXC fpexc = tc->readMiscReg(MISCREG_FPEXC); 90 fpexc.en = 1; 91 tc->setMiscReg(MISCREG_FPEXC, fpexc); 92 } |
|
81} 82 83void 84ArmLiveProcess::copyStringArray32(std::vector<std::string> &strings, 85 Addr array_ptr, Addr data_ptr, 86 TranslatingPort* memPort) 87{ 88 Addr data_ptr_swap; --- 312 unchanged lines hidden --- | 93} 94 95void 96ArmLiveProcess::copyStringArray32(std::vector<std::string> &strings, 97 Addr array_ptr, Addr data_ptr, 98 TranslatingPort* memPort) 99{ 100 Addr data_ptr_swap; --- 312 unchanged lines hidden --- |