system.hh (10822:d259f2bc2b31) | system.hh (12017:93e762dd5c82) |
---|---|
1/* 2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com> 3 * All rights reserved. 4 * 5 * This software was developed by the University of Cambridge Computer 6 * Laboratory as part of the CTSRD Project, with support from the UK Higher 7 * Education Innovation Fund (HEIF). 8 * --- 30 unchanged lines hidden (view full) --- 39#include <vector> 40 41#include "arch/arm/system.hh" 42#include "base/output.hh" 43#include "kern/freebsd/events.hh" 44#include "params/FreebsdArmSystem.hh" 45#include "sim/core.hh" 46 | 1/* 2 * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com> 3 * All rights reserved. 4 * 5 * This software was developed by the University of Cambridge Computer 6 * Laboratory as part of the CTSRD Project, with support from the UK Higher 7 * Education Innovation Fund (HEIF). 8 * --- 30 unchanged lines hidden (view full) --- 39#include <vector> 40 41#include "arch/arm/system.hh" 42#include "base/output.hh" 43#include "kern/freebsd/events.hh" 44#include "params/FreebsdArmSystem.hh" 45#include "sim/core.hh" 46 |
47class DumpStatsPCEventF; 48 | |
49class FreebsdArmSystem : public GenericArmSystem 50{ | 47class FreebsdArmSystem : public GenericArmSystem 48{ |
51 protected: 52 DumpStatsPCEventF *dumpStatsPCEventF; 53 | |
54 public: 55 /** Boilerplate params code */ 56 typedef FreebsdArmSystemParams Params; 57 const Params * 58 params() const 59 { 60 return dynamic_cast<const Params *>(_params); 61 } --- 51 unchanged lines hidden (view full) --- 113 */ 114 Addr secDataPtrAddr; 115 Addr secDataAddr; 116 Addr penReleaseAddr; 117 Addr pen64ReleaseAddr; 118 Addr bootReleaseAddr; 119}; 120 | 49 public: 50 /** Boilerplate params code */ 51 typedef FreebsdArmSystemParams Params; 52 const Params * 53 params() const 54 { 55 return dynamic_cast<const Params *>(_params); 56 } --- 51 unchanged lines hidden (view full) --- 108 */ 109 Addr secDataPtrAddr; 110 Addr secDataAddr; 111 Addr penReleaseAddr; 112 Addr pen64ReleaseAddr; 113 Addr bootReleaseAddr; 114}; 115 |
121class DumpStatsPCEventF : public PCEvent 122{ 123 public: 124 DumpStatsPCEventF(PCEventQueue *q, const std::string &desc, Addr addr) 125 : PCEvent(q, desc, addr) 126 {} 127 128 virtual void process(ThreadContext* tc); 129}; 130 131 | |
132#endif // __ARCH_ARM_FREEBSD_SYSTEM_HH__ 133 | 116#endif // __ARCH_ARM_FREEBSD_SYSTEM_HH__ 117 |