diff options
author | Dean Nelson <dcn@sgi.com> | 2008-11-05 18:27:22 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-11-05 23:32:20 -0500 |
commit | 6c1c325de908cbc444cf284f59c3a892161012e9 (patch) | |
tree | 9e1eaff01127dbe50fee94cbb75b35621c32c215 /drivers/misc/sgi-xp/xp.h | |
parent | 23c357003b3671cdfb17bc4d5383589e74b71511 (diff) |
sgi-xp: define xp_expand_memprotect() and xp_restrict_memprotect()
Define xp_expand_memprotect() and xp_restrict_memprotect() so they can be
tailered to the hardware they are run on.
Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/misc/sgi-xp/xp.h')
-rw-r--r-- | drivers/misc/sgi-xp/xp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h index 859a5281c61b..974ffe3817b6 100644 --- a/drivers/misc/sgi-xp/xp.h +++ b/drivers/misc/sgi-xp/xp.h | |||
@@ -190,9 +190,10 @@ enum xp_retval { | |||
190 | xpGruSendMqError, /* 59: gru send message queue related error */ | 190 | xpGruSendMqError, /* 59: gru send message queue related error */ |
191 | 191 | ||
192 | xpBadChannelNumber, /* 60: invalid channel number */ | 192 | xpBadChannelNumber, /* 60: invalid channel number */ |
193 | xpBadMsgType, /* 60: invalid message type */ | 193 | xpBadMsgType, /* 61: invalid message type */ |
194 | xpBiosError, /* 62: BIOS error */ | ||
194 | 195 | ||
195 | xpUnknownReason /* 61: unknown reason - must be last in enum */ | 196 | xpUnknownReason /* 63: unknown reason - must be last in enum */ |
196 | }; | 197 | }; |
197 | 198 | ||
198 | /* | 199 | /* |
@@ -341,6 +342,8 @@ extern unsigned long (*xp_pa) (void *); | |||
341 | extern enum xp_retval (*xp_remote_memcpy) (unsigned long, const unsigned long, | 342 | extern enum xp_retval (*xp_remote_memcpy) (unsigned long, const unsigned long, |
342 | size_t); | 343 | size_t); |
343 | extern int (*xp_cpu_to_nasid) (int); | 344 | extern int (*xp_cpu_to_nasid) (int); |
345 | extern enum xp_retval (*xp_expand_memprotect) (unsigned long, unsigned long); | ||
346 | extern enum xp_retval (*xp_restrict_memprotect) (unsigned long, unsigned long); | ||
344 | 347 | ||
345 | extern u64 xp_nofault_PIOR_target; | 348 | extern u64 xp_nofault_PIOR_target; |
346 | extern int xp_nofault_PIOR(void *); | 349 | extern int xp_nofault_PIOR(void *); |