sgi-xp: create a common xp_remote_memcpy() function
[linux-2.6/mini2440.git] / drivers / misc / sgi-xp / xp_uv.c
blobdca519fdef98dfbefbe5d977af5fb4f7f5f67fb1
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved.
7 */
9 /*
10 * Cross Partition (XP) uv-based functions.
12 * Architecture specific implementation of common functions.
16 #include "xp.h"
18 static enum xp_retval
19 xp_remote_memcpy_uv(void *vdst, const void *psrc, size_t len)
21 /* >>> this function needs fleshing out */
22 return xpUnsupported;
25 enum xp_retval
26 xp_init_uv(void)
28 BUG_ON(!is_uv());
30 xp_max_npartitions = XP_MAX_NPARTITIONS_UV;
32 xp_remote_memcpy = xp_remote_memcpy_uv;
34 return xpSuccess;
37 void
38 xp_exit_uv(void)
40 BUG_ON(!is_uv());