process.cc (7441:be2acdfb8bdc) | process.cc (7532:3f6413fc37a2) |
---|---|
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 --- 62 unchanged lines hidden (view full) --- 71 72 // Set up region for mmaps. For now, start at bottom of kuseg space. 73 mmap_start = mmap_end = 0x40000000L; 74} 75 76void 77ArmLiveProcess::startup() 78{ | 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 --- 62 unchanged lines hidden (view full) --- 71 72 // Set up region for mmaps. For now, start at bottom of kuseg space. 73 mmap_start = mmap_end = 0x40000000L; 74} 75 76void 77ArmLiveProcess::startup() 78{ |
79 LiveProcess::startup(); |
|
79 argsInit(MachineBytes, VMPageSize); 80} 81 82void 83ArmLiveProcess::copyStringArray32(std::vector<std::string> &strings, 84 Addr array_ptr, Addr data_ptr, 85 TranslatingPort* memPort) 86{ --- 22 unchanged lines hidden (view full) --- 109 if (argv.size() < 1) 110 filename = ""; 111 else 112 filename = argv[0]; 113 114 //We want 16 byte alignment 115 uint64_t align = 16; 116 | 80 argsInit(MachineBytes, VMPageSize); 81} 82 83void 84ArmLiveProcess::copyStringArray32(std::vector<std::string> &strings, 85 Addr array_ptr, Addr data_ptr, 86 TranslatingPort* memPort) 87{ --- 22 unchanged lines hidden (view full) --- 110 if (argv.size() < 1) 111 filename = ""; 112 else 113 filename = argv[0]; 114 115 //We want 16 byte alignment 116 uint64_t align = 16; 117 |
117 // Overloaded argsInit so that we can fine-tune for ARM architecture 118 Process::startup(); 119 | |
120 // load object file into target memory 121 objFile->loadSections(initVirtMem); 122 123 enum ArmCpuFeature { 124 Arm_Swp = 1 << 0, 125 Arm_Half = 1 << 1, 126 Arm_Thumb = 1 << 2, 127 Arm_26Bit = 1 << 3, --- 275 unchanged lines hidden --- | 118 // load object file into target memory 119 objFile->loadSections(initVirtMem); 120 121 enum ArmCpuFeature { 122 Arm_Swp = 1 << 0, 123 Arm_Half = 1 << 1, 124 Arm_Thumb = 1 << 2, 125 Arm_26Bit = 1 << 3, --- 275 unchanged lines hidden --- |