system.hh (2632:1bb2f91485ea) | system.hh (2650:a012c079984a) |
---|---|
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; --- 39 unchanged lines hidden (view full) --- 48 std::string openboot_bin; 49 std::string boot_osflags; 50 uint64_t system_type; 51 uint64_t system_rev; 52 }; 53 54 SparcSystem(Params *p); 55 | 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; --- 39 unchanged lines hidden (view full) --- 48 std::string openboot_bin; 49 std::string boot_osflags; 50 uint64_t system_type; 51 uint64_t system_rev; 52 }; 53 54 SparcSystem(Params *p); 55 |
56 ~SparcaSystem(); | 56 ~SparcSystem(); |
57 58 virtual bool breakpoint(); 59 60/** 61 * Serialization stuff 62 */ 63 public: 64 virtual void serialize(std::ostream &os); --- 12 unchanged lines hidden (view full) --- 77 ObjectFile *reset; 78 79 /** Object pointer for the hypervisor code */ 80 ObjectFile *hypervisor; 81 82 /** Object pointer for the openboot code */ 83 ObjectFile *openboot; 84 | 57 58 virtual bool breakpoint(); 59 60/** 61 * Serialization stuff 62 */ 63 public: 64 virtual void serialize(std::ostream &os); --- 12 unchanged lines hidden (view full) --- 77 ObjectFile *reset; 78 79 /** Object pointer for the hypervisor code */ 80 ObjectFile *hypervisor; 81 82 /** Object pointer for the openboot code */ 83 ObjectFile *openboot; 84 |
85 /** System Tick for syncronized tick across all cpus. */ 86 Tick sysTick; 87 |
|
85 protected: 86 const Params *params() const { return (const Params *)_params; } 87 88 /** Add a function-based event to reset binary. */ 89 template <class T> 90 T *SparcSystem::addResetFuncEvent(const char *lbl) 91 { 92 return addFuncEvent<T>(resetSymtab, lbl); --- 22 unchanged lines hidden --- | 88 protected: 89 const Params *params() const { return (const Params *)_params; } 90 91 /** Add a function-based event to reset binary. */ 92 template <class T> 93 T *SparcSystem::addResetFuncEvent(const char *lbl) 94 { 95 return addFuncEvent<T>(resetSymtab, lbl); --- 22 unchanged lines hidden --- |