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 --- 36 unchanged lines hidden (view full) --- 45#include "sim/process_impl.hh" 46#include "sim/syscall_return.hh" 47#include "sim/system.hh" 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."); 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; --- 242 unchanged lines hidden --- |