1/* 2 * Copyright (c) 2003-2006 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; --- 205 unchanged lines hidden (view full) --- 214} 215 216#if !FULL_SYSTEM 217Addr 218System::new_page() 219{ 220 Addr return_addr = page_ptr << LogVMPageSize; 221 ++page_ptr; |
222 if (return_addr >= physmem->size()) 223 fatal("Out of memory, please increase size of physical memory."); |
224 return return_addr; 225} 226#endif 227 228void 229System::serialize(ostream &os) 230{ 231#if FULL_SYSTEM --- 69 unchanged lines hidden --- |