|
gem5
v21.0.1.0
|
Classes | |
| class | DebugPrintk |
| class | DmesgDump |
| Dump the guest kernel's dmesg buffer to a file in gem5's output directory and print a warning. More... | |
| class | KernelPanic |
| Dump the guest kernel's dmesg buffer to a file in gem5's output directory and panic. More... | |
| struct | pcb_struct |
| class | SkipUDelay |
| A class to skip udelay() and related calls in the kernel. More... | |
| struct | thread_info |
| class | ThreadInfo |
Functions | |
| void | onUDelay (ThreadContext *tc, uint64_t div, uint64_t mul, uint64_t time) |
| void | dumpDmesg (ThreadContext *tc, std::ostream &os) |
| Dump Linux's dmesg log buffer to the an output stream. More... | |
| int | printk (std::string &str, ThreadContext *tc, Addr format_ptr, PrintkVarArgs args) |
| void Linux::dumpDmesg | ( | ThreadContext * | tc, |
| std::ostream & | os | ||
| ) |
Dump Linux's dmesg log buffer to the an output stream.
@warn This assumes that the kernel address mappings are available to the translating proxy.
Referenced by ArmISA::FsLinux::dumpDmesg(), Linux::DmesgDump::process(), and Linux::KernelPanic::process().
| void Linux::onUDelay | ( | ThreadContext * | tc, |
| uint64_t | div, | ||
| uint64_t | mul, | ||
| uint64_t | time | ||
| ) |
Definition at line 81 of file events.cc.
References curTick(), SimClock::Int::ns, and ThreadContext::quiesceTick().
Referenced by Linux::SkipUDelay< ABI, Base >::process().
| int Linux::printk | ( | std::string & | str, |
| ThreadContext * | tc, | ||
| Addr | format_ptr, | ||
| PrintkVarArgs | args | ||
| ) |
Definition at line 44 of file printk.cc.
References ArmISA::c, ArmISA::format, ThreadContext::getVirtProxy(), ArmISA::len, M5_FALLTHROUGH, ArmISA::mask, ArmISA::n, MipsISA::p, PortProxy::readString(), ArmISA::s, and ArmISA::width.
Referenced by Linux::DebugPrintk< ABI, Base >::process().