From 05b2ec2ab620b102a2d2fb92dac95ddbc1e09143 Mon Sep 17 00:00:00 2001 From: Andrea Bastoni Date: Mon, 12 Apr 2010 23:30:36 -0400 Subject: Add get_control_page() library function --- include/litmus.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/litmus.h b/include/litmus.h index 6d0ad40..e0f16d3 100644 --- a/include/litmus.h +++ b/include/litmus.h @@ -120,6 +120,13 @@ static inline int open_srp_sem(int fd, int name) /* syscall overhead measuring */ int null_call(cycles_t *timestamp); +/* + * get control page: + * atm it is used only by preemption migration overhead code + * but it is very general and can be used for different purposes + */ +struct control_page* get_ctrl_page(void); + #ifdef __cplusplus } #endif -- cgit v1.2.2