Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
sim.h File Reference
#include <arch/sim_def.h>
#include <arch/abi.h>
#include <arch/spr_def.h>

Go to the source code of this file.

Data Structures

struct  SimQueryWatchpointStatus
 

Macros

#define _sim_syscall(syscall_num, nr, args...)
 
#define SIM_WATCHPOINT_READ   1
 
#define SIM_WATCHPOINT_WRITE   2
 
#define SIM_WATCHPOINT_EXECUTE   4
 
#define sim_enable_functional()   __insn_mtspr(SPR_SIM_CONTROL, SIM_CONTROL_ENABLE_FUNCTIONAL)
 
#define sim_disable_functional()   __insn_mtspr(SPR_SIM_CONTROL, SIM_CONTROL_DISABLE_FUNCTIONAL)
 

Detailed Description

Provides an API for controlling the simulator at runtime.

Definition in file sim.h.