From 938ac1a2f9cffadea5bb4dfce6d79e6dd85dc2b3 Mon Sep 17 00:00:00 2001 From: Dean Nelson Date: Wed, 25 Aug 2004 18:27:33 +0000 Subject: [IA64] allow OEM written modules to make calls to ia64 OEM SAL functions. Add wrapper functions for SAL_CALL(), SAL_CALL_NOLOCK(), and SAL_CALL_REENTRANT() that allow OEM written modules to make calls to ia64 OEM SAL functions. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck --- include/asm-ia64/sal.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/asm-ia64/sal.h b/include/asm-ia64/sal.h index 6ff4a4e83b4e..f468596f495e 100644 --- a/include/asm-ia64/sal.h +++ b/include/asm-ia64/sal.h @@ -819,6 +819,16 @@ struct sal_ret_values { long r8; long r9; long r10; long r11; }; +#define IA64_SAL_OEMFUNC_MIN 0x02000000 +#define IA64_SAL_OEMFUNC_MAX 0x03ffffff + +extern int ia64_sal_oemcall(struct ia64_sal_retval *, u64, u64, u64, u64, u64, + u64, u64, u64); +extern int ia64_sal_oemcall_nolock(struct ia64_sal_retval *, u64, u64, u64, + u64, u64, u64, u64, u64); +extern int ia64_sal_oemcall_reentrant(struct ia64_sal_retval *, u64, u64, u64, + u64, u64, u64, u64, u64); + #endif /* __ASSEMBLY__ */ #endif /* _ASM_IA64_SAL_H */ -- cgit v1.2.3