1/* 2 * Copyright (c) 2003-2004 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; --- 35 unchanged lines hidden (view full) --- 44#include "sim/process_impl.hh" 45#include "sim/syscall_return.hh" 46#include "sim/system.hh" 47 48using namespace AlphaISA; 49using namespace std; 50 51AlphaProcess::AlphaProcess(ProcessParams *params, ObjectFile *objFile) |
52 : Process(params, new FuncPageTable(params->name, params->pid, PageBytes), 53 objFile) |
54{ 55 fatal_if(!params->useArchPT, "Arch page tables not implemented."); 56 Addr brk_point = objFile->dataBase() + objFile->dataSize() + 57 objFile->bssSize(); 58 brk_point = roundUp(brk_point, PageBytes); 59 60 // Set up stack. On Alpha, stack goes below text section. This 61 // code should get moved to some architecture-specific spot. --- 192 unchanged lines hidden --- |