system.hh (9112:6e854ea87bab) | system.hh (9292:e57c7d9736a5) |
---|---|
1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 389 unchanged lines hidden (view full) --- 398 static std::vector<System *> systemList; 399 static int numSystemsRunning; 400 401 static void printSystems(); 402 403 // For futex system call 404 std::map<uint64_t, std::list<ThreadContext *> * > futexMap; 405 | 1/* 2 * Copyright (c) 2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 389 unchanged lines hidden (view full) --- 398 static std::vector<System *> systemList; 399 static int numSystemsRunning; 400 401 static void printSystems(); 402 403 // For futex system call 404 std::map<uint64_t, std::list<ThreadContext *> * > futexMap; 405 |
406 protected: |
|
406 | 407 |
408 /** 409 * If needed, serialize additional symbol table entries for a 410 * specific subclass of this sytem. Currently this is used by 411 * Alpha and MIPS. 412 * 413 * @param os stream to serialize to 414 */ 415 virtual void serializeSymtab(std::ostream &os) {} 416 417 /** 418 * If needed, unserialize additional symbol table entries for a 419 * specific subclass of this system. 420 * 421 * @param cp checkpoint to unserialize from 422 * @param section relevant section in the checkpoint 423 */ 424 virtual void unserializeSymtab(Checkpoint *cp, 425 const std::string §ion) {} 426 |
|
407}; 408 409#endif // __SYSTEM_HH__ | 427}; 428 429#endif // __SYSTEM_HH__ |