Deleted Added
sdiff udiff text old ( 12431:000549e1f497 ) new ( 12432:2480d8b432f5 )
full compact
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), objFile)
54{
55 fatal_if(!params->useArchPT, "Arch page tables not implemented.");
56 // Set up break point (Top of Heap)
57 Addr brk_point = objFile->dataBase() + objFile->dataSize() +
58 objFile->bssSize();
59 brk_point = roundUp(brk_point, PageBytes);
60
61 Addr stack_base = 0xbf000000L;

--- 242 unchanged lines hidden ---