system.hh (5718:323cfbfec1a4) | system.hh (5795:72ce7502dc71) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 125 unchanged lines hidden (view full) --- 134 uint64_t next_PID; 135 136 public: 137 uint64_t allocatePID() 138 { 139 return next_PID++; 140 } 141 | 1/* 2 * Copyright (c) 2002-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; --- 125 unchanged lines hidden (view full) --- 134 uint64_t next_PID; 135 136 public: 137 uint64_t allocatePID() 138 { 139 return next_PID++; 140 } 141 |
142 /** Amount of physical memory that is still free */ 143 Addr freeMemSize(); |
|
142 | 144 |
145 /** Amount of physical memory that exists */ 146 Addr memSize(); 147 148 |
|
143#endif // FULL_SYSTEM 144 145 protected: 146 Enums::MemoryMode memoryMode; 147 148#if FULL_SYSTEM 149 /** 150 * Fix up an address used to match PCs for hooking simulator --- 98 unchanged lines hidden --- | 149#endif // FULL_SYSTEM 150 151 protected: 152 Enums::MemoryMode memoryMode; 153 154#if FULL_SYSTEM 155 /** 156 * Fix up an address used to match PCs for hooking simulator --- 98 unchanged lines hidden --- |