process.cc (12432:2480d8b432f5) | process.cc (12441:ece14e2e8c0a) |
---|---|
1/* 2 * Copyright (c) 2007-2008 The Florida State University 3 * Copyright (c) 2009 The University of Edinburgh 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 39 unchanged lines hidden (view full) --- 48 49using namespace std; 50using namespace PowerISA; 51 52PowerProcess::PowerProcess(ProcessParams *params, ObjectFile *objFile) 53 : Process(params, new FuncPageTable(params->name, params->pid, PageBytes), 54 objFile) 55{ | 1/* 2 * Copyright (c) 2007-2008 The Florida State University 3 * Copyright (c) 2009 The University of Edinburgh 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 39 unchanged lines hidden (view full) --- 48 49using namespace std; 50using namespace PowerISA; 51 52PowerProcess::PowerProcess(ProcessParams *params, ObjectFile *objFile) 53 : Process(params, new FuncPageTable(params->name, params->pid, PageBytes), 54 objFile) 55{ |
56 fatal_if(!params->useArchPT, "Arch page tables not implemented."); | 56 fatal_if(params->useArchPT, "Arch page tables not implemented."); |
57 // Set up break point (Top of Heap) 58 Addr brk_point = objFile->dataBase() + objFile->dataSize() + 59 objFile->bssSize(); 60 brk_point = roundUp(brk_point, PageBytes); 61 62 Addr stack_base = 0xbf000000L; 63 64 Addr max_stack_size = 8 * 1024 * 1024; --- 240 unchanged lines hidden --- | 57 // Set up break point (Top of Heap) 58 Addr brk_point = objFile->dataBase() + objFile->dataSize() + 59 objFile->bssSize(); 60 brk_point = roundUp(brk_point, PageBytes); 61 62 Addr stack_base = 0xbf000000L; 63 64 Addr max_stack_size = 8 * 1024 * 1024; --- 240 unchanged lines hidden --- |