X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ia64%2Fsal.h;h=ea1ed377de4cf5d7577b98a120267973abbdfce5;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=b372de02924182e4c3bc04232d4db3fc06f2ef95;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-ia64/sal.h b/include/asm-ia64/sal.h index b372de029..ea1ed377d 100644 --- a/include/asm-ia64/sal.h +++ b/include/asm-ia64/sal.h @@ -325,6 +325,10 @@ typedef struct sal_log_record_header { efi_guid_t platform_guid; /* Unique OEM Platform ID */ } sal_log_record_header_t; +#define sal_log_severity_recoverable 0 +#define sal_log_severity_fatal 1 +#define sal_log_severity_corrected 2 + /* Definition of log section header structures */ typedef struct sal_log_sec_header { efi_guid_t guid; /* Unique Section ID */ @@ -364,7 +368,7 @@ typedef struct sal_processor_static_info { u64 cr[128]; u64 ar[128]; u64 rr[8]; - struct ia64_fpreg fr[128]; + struct ia64_fpreg __attribute__ ((packed)) fr[128]; } sal_processor_static_info_t; struct sal_cpuid_info { @@ -819,6 +823,18 @@ 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); + +extern void ia64_sal_handler_init(void *entry_point, void *gpval); + #endif /* __ASSEMBLY__ */ #endif /* _ASM_IA64_SAL_H */