]>
Commit | Line | Data |
---|---|---|
bc63d387 DN |
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. | |
5 | * | |
6 | * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. | |
7 | */ | |
8 | ||
9 | /* | |
10 | * Cross Partition (XP) uv-based functions. | |
11 | * | |
12 | * Architecture specific implementation of common functions. | |
13 | * | |
14 | */ | |
15 | ||
16 | #include "xp.h" | |
17 | ||
908787db DN |
18 | static enum xp_retval |
19 | xp_remote_memcpy_uv(void *vdst, const void *psrc, size_t len) | |
20 | { | |
ea57f80c | 21 | /* !!! this function needs fleshing out */ |
908787db DN |
22 | return xpUnsupported; |
23 | } | |
24 | ||
bc63d387 DN |
25 | enum xp_retval |
26 | xp_init_uv(void) | |
27 | { | |
28 | BUG_ON(!is_uv()); | |
29 | ||
30 | xp_max_npartitions = XP_MAX_NPARTITIONS_UV; | |
908787db DN |
31 | |
32 | xp_remote_memcpy = xp_remote_memcpy_uv; | |
33 | ||
34 | return xpSuccess; | |
bc63d387 DN |
35 | } |
36 | ||
37 | void | |
38 | xp_exit_uv(void) | |
39 | { | |
40 | BUG_ON(!is_uv()); | |
41 | } |