gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
base.cc File Reference
#include "cpu/kvm/base.hh"
#include <linux/kvm.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <unistd.h>
#include <cerrno>
#include <csignal>
#include <ostream>
#include "arch/mmapped_ipr.hh"
#include "arch/utility.hh"
#include "debug/Checkpoint.hh"
#include "debug/Drain.hh"
#include "debug/Kvm.hh"
#include "debug/KvmIO.hh"
#include "debug/KvmRun.hh"
#include "params/BaseKvmCPU.hh"
#include "sim/process.hh"
#include "sim/system.hh"

Go to the source code of this file.

Macros

#define PAGE_SIZE   pageSize
 

Functions

static void onKickSignal (int signo, siginfo_t *si, void *data)
 Dummy handler for KVM kick signals. More...
 

Macro Definition Documentation

#define PAGE_SIZE   pageSize

Definition at line 63 of file base.cc.

Function Documentation

static void onKickSignal ( int  signo,
siginfo_t *  si,
void *  data 
)
static

Dummy handler for KVM kick signals.

Note
This function is usually not called since the kernel doesn't seem to deliver signals when the signal is only unmasked when running in KVM. This doesn't matter though since we are only interested in getting KVM to exit, which happens as expected. See setupSignalHandler() and kvmRun() for details about KVM signal handling.

Definition at line 1220 of file base.cc.

Referenced by BaseKvmCPU::setupSignalHandler().


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6