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), 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; 62 --- 167 unchanged lines hidden --- |