--- np2/i386c/ia32/task.h 2008/03/22 04:03:08 1.8 +++ np2/i386c/ia32/task.h 2011/12/29 13:32:12 1.10 @@ -1,5 +1,3 @@ -/* $Id: task.h,v 1.8 2008/03/22 04:03:08 monaka Exp $ */ - /* * Copyright (c) 2003 NONAKA Kimihiro * All rights reserved. @@ -32,8 +30,8 @@ extern "C" { #endif -void load_tr(UINT16 selector); -void get_stack_pointer_from_tss(UINT pl, UINT16 *new_ss, UINT32 *new_esp); +void CPUCALL load_tr(UINT16 selector); +void CPUCALL get_stack_pointer_from_tss(UINT pl, UINT16 *new_ss, UINT32 *new_esp); UINT16 get_backlink_selector_from_tss(void); /* task_switch type */ @@ -44,7 +42,7 @@ typedef enum { TASK_SWITCH_INTR } task_switch_type_t; -void task_switch(selector_t *selector, task_switch_type_t type); +void CPUCALL task_switch(selector_t *selector, task_switch_type_t type); #ifdef __cplusplus }