system.cc (2902:695d4683916e) system.cc (3162:e664ad1ab5fe)
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;
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.");
222 return return_addr;
223}
224#endif
225
226void
227System::serialize(ostream &os)
228{
229#if FULL_SYSTEM

--- 69 unchanged lines hidden ---
224 return return_addr;
225}
226#endif
227
228void
229System::serialize(ostream &os)
230{
231#if FULL_SYSTEM

--- 69 unchanged lines hidden ---