Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/subr_trap.c
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
#ifdef HWPMC_HOOKS | #ifdef HWPMC_HOOKS | ||||
#include <sys/pmckern.h> | #include <sys/pmckern.h> | ||||
#endif | #endif | ||||
#ifdef EPOCH_TRACE | #ifdef EPOCH_TRACE | ||||
#include <sys/epoch.h> | #include <sys/epoch.h> | ||||
#endif | #endif | ||||
volatile uint32_t __read_frequently hpts_that_need_softclock = 0; | |||||
void (*tcp_hpts_softclock)(void); | void (*tcp_hpts_softclock)(void); | ||||
/* | /* | ||||
* Define the code needed before returning to user mode, for trap and | * Define the code needed before returning to user mode, for trap and | ||||
* syscall. | * syscall. | ||||
*/ | */ | ||||
void | void | ||||
userret(struct thread *td, struct trapframe *frame) | userret(struct thread *td, struct trapframe *frame) | ||||
▲ Show 20 Lines • Show All 309 Lines • Show Last 20 Lines |