sgi-xp: create a common xp_remote_memcpy() function
Create a common remote memcpy function that maps to what the hardware booted supports. Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bc63d387e4
commit
908787db9b
@ -15,12 +15,23 @@
|
||||
|
||||
#include "xp.h"
|
||||
|
||||
static enum xp_retval
|
||||
xp_remote_memcpy_uv(void *vdst, const void *psrc, size_t len)
|
||||
{
|
||||
/* >>> this function needs fleshing out */
|
||||
return xpUnsupported;
|
||||
}
|
||||
|
||||
enum xp_retval
|
||||
xp_init_uv(void)
|
||||
{
|
||||
BUG_ON(!is_uv());
|
||||
|
||||
xp_max_npartitions = XP_MAX_NPARTITIONS_UV;
|
||||
|
||||
xp_remote_memcpy = xp_remote_memcpy_uv;
|
||||
|
||||
return xpSuccess;
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user