|
gem5 v25.0.0.1
|
Specify what to do on a Linux Kernel Panic or Oops. More...
#include <events.hh>
Public Member Functions | |
| PanicOrOopsEvent (PCEventScope *s, const std::string &desc, Addr addr, const std::string &_fname, const KernelPanicOopsBehaviour _behaviour) | |
| void | process (ThreadContext *tc) override |
| Public Member Functions inherited from gem5::PCEvent | |
| PCEvent (PCEventScope *q, const std::string &desc, Addr pc) | |
| virtual | ~PCEvent () |
| virtual const std::string | name () const |
| std::string | descr () const |
| Addr | pc () const |
| bool | remove () |
Protected Attributes | |
| std::string | fname |
| KernelPanicOopsBehaviour | behaviour |
| Protected Attributes inherited from gem5::PCEvent | |
| std::string | description |
| PCEventScope * | scope |
| Addr | evpc |
Specify what to do on a Linux Kernel Panic or Oops.
@warn This event may use linux::dumpDmesg() and comes with the same limitations. Most importantly, the kernel's address mappings must be available to the translating proxy.
|
inline |
Definition at line 100 of file events.hh.
References gem5::X86ISA::addr, behaviour, fname, gem5::PCEvent::PCEvent(), and gem5::ArmISA::s.
|
overridevirtual |
Implements gem5::PCEvent.
Definition at line 62 of file events.cc.
References behaviour, gem5::curTick(), gem5::PCEvent::descr(), gem5::linux::dumpDmesg(), gem5::exitSimLoop(), fname, inform, gem5::X86ISA::os, panic, gem5::simout, and warn.
|
protected |
Definition at line 97 of file events.hh.
Referenced by PanicOrOopsEvent(), and process().
|
protected |
Definition at line 96 of file events.hh.
Referenced by PanicOrOopsEvent(), and process().