gem5  v20.1.0.0
Classes | Functions
Linux Namespace Reference

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)
 
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)
 

Function Documentation

◆ dumpDmesg()

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().

◆ onUDelay()

void Linux::onUDelay ( ThreadContext tc,
uint64_t  div,
uint64_t  mul 
)

◆ printk()

int Linux::printk ( std::string &  str,
ThreadContext tc,
Addr  format_ptr,
PrintkVarArgs  args 
)

Generated on Wed Sep 30 2020 14:03:06 for gem5 by doxygen 1.8.17