1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Regents of the University of California 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 257 unchanged lines hidden (view full) --- 266 Addr getKernelEnd() const { return kernelEnd; } 267 268 /** 269 * Returns the addess the entry point to the kernel code. 270 * @return entry point of the kernel code 271 */ 272 Addr getKernelEntry() const { return kernelEntry; } 273 |
274 /// Allocate npages contiguous unused physical pages 275 /// @return Starting address of first page 276 Addr allocPhysPages(int npages); |
277 278 int registerThreadContext(ThreadContext *tc, int assigned=-1); 279 void replaceThreadContext(ThreadContext *tc, int context_id); 280 281 void serialize(std::ostream &os); 282 void unserialize(Checkpoint *cp, const std::string §ion); 283 virtual void resume(); 284 --- 19 unchanged lines hidden --- |