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>
This commit is contained in:
committed by
H. Peter Anvin
parent
23c357003b
commit
6c1c325de9
@@ -190,9 +190,10 @@ enum xp_retval {
|
||||
xpGruSendMqError, /* 59: gru send message queue related error */
|
||||
|
||||
xpBadChannelNumber, /* 60: invalid channel number */
|
||||
xpBadMsgType, /* 60: invalid message type */
|
||||
xpBadMsgType, /* 61: invalid message type */
|
||||
xpBiosError, /* 62: BIOS error */
|
||||
|
||||
xpUnknownReason /* 61: unknown reason - must be last in enum */
|
||||
xpUnknownReason /* 63: unknown reason - must be last in enum */
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -341,6 +342,8 @@ extern unsigned long (*xp_pa) (void *);
|
||||
extern enum xp_retval (*xp_remote_memcpy) (unsigned long, const unsigned long,
|
||||
size_t);
|
||||
extern int (*xp_cpu_to_nasid) (int);
|
||||
extern enum xp_retval (*xp_expand_memprotect) (unsigned long, unsigned long);
|
||||
extern enum xp_retval (*xp_restrict_memprotect) (unsigned long, unsigned long);
|
||||
|
||||
extern u64 xp_nofault_PIOR_target;
|
||||
extern int xp_nofault_PIOR(void *);
|
||||
|
Reference in New Issue
Block a user