ia64/xen-unstable

view unmodified_drivers/linux-2.6/platform-pci/platform-pci.h @ 13112:613ccf4ca46b

[IA64] Change dom0's initrd image load area so that it follows start info.

It becomes non-sense to use dom0_size if dom0 memoy is assigned sparsely.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild2.aw
date Thu Jan 04 14:50:26 2007 -0700 (2007-01-04)
parents b2f077bbca89
children 5c5d9692f559
line source
1 /******************************************************************************
2 * evtchn-pci.h
3 * module driver support in unmodified Linux
4 * Copyright (C) 2004, Intel Corporation. <xiaofeng.ling@intel.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17 * Place - Suite 330, Boston, MA 02111-1307 USA.
18 *
19 */
21 #ifndef __XEN_SUPPORT_H
22 #define __XEN_SUPPORT_H
23 #include <linux/version.h>
24 #include <linux/interrupt.h>
25 #include <xen/interface/hvm/params.h>
27 static inline int set_callback_irq(int irq)
28 {
29 struct xen_hvm_param a;
31 a.domid = DOMID_SELF;
32 a.index = HVM_PARAM_CALLBACK_IRQ;
33 a.value = irq;
34 return HYPERVISOR_hvm_op(HVMOP_set_param, &a);
35 }
37 unsigned long alloc_xen_mmio(unsigned long len);
39 int gnttab_init(void);
41 void setup_xen_features(void);
43 irqreturn_t evtchn_interrupt(int irq, void *dev_id, struct pt_regs *regs);
45 #endif