process.cc (12441:ece14e2e8c0a) process.cc (12448:b299e560f1d8)
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)
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),
52 : Process(params,
53 new EmulationPageTable(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

--- 193 unchanged lines hidden ---
54 objFile)
55{
56 fatal_if(params->useArchPT, "Arch page tables not implemented.");
57 Addr brk_point = objFile->dataBase() + objFile->dataSize() +
58 objFile->bssSize();
59 brk_point = roundUp(brk_point, PageBytes);
60
61 // Set up stack. On Alpha, stack goes below text section. This

--- 193 unchanged lines hidden ---