process.cc (12441:ece14e2e8c0a) process.cc (12448:b299e560f1d8)
1/*
2 * Copyright (c) 2004-2005 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;

--- 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 MipsISA;
51
52MipsProcess::MipsProcess(ProcessParams *params, ObjectFile *objFile)
1/*
2 * Copyright (c) 2004-2005 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;

--- 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 MipsISA;
51
52MipsProcess::MipsProcess(ProcessParams *params, ObjectFile *objFile)
53 : Process(params, new FuncPageTable(params->name, params->pid, PageBytes),
53 : Process(params,
54 new EmulationPageTable(params->name, params->pid, PageBytes),
54 objFile)
55{
56 fatal_if(params->useArchPT, "Arch page tables not implemented.");
57 // Set up stack. On MIPS, stack starts at the top of kuseg
58 // user address space. MIPS stack grows down from here
59 Addr stack_base = 0x7FFFFFFF;
60
61 Addr max_stack_size = 8 * 1024 * 1024;

--- 168 unchanged lines hidden ---
55 objFile)
56{
57 fatal_if(params->useArchPT, "Arch page tables not implemented.");
58 // Set up stack. On MIPS, stack starts at the top of kuseg
59 // user address space. MIPS stack grows down from here
60 Addr stack_base = 0x7FFFFFFF;
61
62 Addr max_stack_size = 8 * 1024 * 1024;

--- 168 unchanged lines hidden ---