ia64/xen-unstable

view xen/arch/ia64/xen/dom_fw_asm.S @ 16785:af3550f53874

[IA64] domheap: Don't pin xenheap down. Now it's unnecessary.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Thu Jan 17 12:05:43 2008 -0700 (2008-01-17)
parents 2fb4ab0c174a
children dd7ac569579a
line source
1 // moved from xenasm.S to be shared by xen and libxc
2 /*
3 * Assembly support routines for Xen/ia64
4 *
5 * Copyright (C) 2004 Hewlett-Packard Co
6 * Dan Magenheimer <dan.magenheimer@hp.com>
7 *
8 * Copyright (c) 2007 Isaku Yamahata <yamahata at valinux co jp>
9 * VA Linux Systems Japan K.K.
10 */
12 // These instructions are copied in the domains.
13 // This is the virtual PAL, which simply does a hypercall.
14 // The size is 2 bundles (32 Bytes). It handles both static and stacked
15 // convention.
16 // If you modify this code, you have to modify dom_fw.h (for the size) and
17 // dom_fw_pal_hypercall_patch.
19 // This file is shared with xen and libxc.
20 // GLOBAL_ENTRY() end END() macro can't be used.
22 //GLOBAL_ENTRY(xen_ia64_pal_call_stub)
23 .global xen_ia64_pal_call_stub;
24 .align 32;
25 .proc xen_ia64_pal_call_stub;
26 xen_ia64_pal_call_stub:
27 {
28 .mii
29 addl r2=0x1000,r0 // Hypercall number (Value is patched).
30 mov r9=256
31 ;;
32 cmp.gtu p7,p8=r9,r28 /* r32 <= 255? */
33 }
34 {
35 .mbb
36 break 0x1000 // Hypercall vector (Value is patched).
37 (p7) br.cond.sptk.few rp
38 (p8) br.ret.sptk.few rp
39 }
40 //END(xen_ia64_pal_call_stub)
41 .endp xen_ia64_pal_call_stub