process.cc (6811:f130ea67e453) | process.cc (7532:3f6413fc37a2) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 53 unchanged lines hidden (view full) --- 62 brk_point = objFile->dataBase() + objFile->dataSize() + objFile->bssSize(); 63 brk_point = roundUp(brk_point, VMPageSize); 64 65 // Set up region for mmaps. Start it 1GB above the top of the heap. 66 mmap_start = mmap_end = brk_point + 0x40000000L; 67} 68 69void | 1/* 2 * Copyright (c) 2004-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; --- 53 unchanged lines hidden (view full) --- 62 brk_point = objFile->dataBase() + objFile->dataSize() + objFile->bssSize(); 63 brk_point = roundUp(brk_point, VMPageSize); 64 65 // Set up region for mmaps. Start it 1GB above the top of the heap. 66 mmap_start = mmap_end = brk_point + 0x40000000L; 67} 68 69void |
70MipsLiveProcess::startup() | 70MipsLiveProcess::initState() |
71{ | 71{ |
72 Process::startup(); | 72 LiveProcess::initState(); |
73 74 argsInit<uint32_t>(VMPageSize); 75} 76 77template<class IntType> 78void 79MipsLiveProcess::argsInit(int pageSize) 80{ 81 int intSize = sizeof(IntType); | 73 74 argsInit<uint32_t>(VMPageSize); 75} 76 77template<class IntType> 78void 79MipsLiveProcess::argsInit(int pageSize) 80{ 81 int intSize = sizeof(IntType); |
82 Process::startup(); | |
83 84 // load object file into target memory 85 objFile->loadSections(initVirtMem); 86 87 typedef AuxVector<IntType> auxv_t; 88 std::vector<auxv_t> auxv; 89 90 ElfObject * elfObject = dynamic_cast<ElfObject *>(objFile); --- 128 unchanged lines hidden --- | 82 83 // load object file into target memory 84 objFile->loadSections(initVirtMem); 85 86 typedef AuxVector<IntType> auxv_t; 87 std::vector<auxv_t> auxv; 88 89 ElfObject * elfObject = dynamic_cast<ElfObject *>(objFile); --- 128 unchanged lines hidden --- |