diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-17 16:08:01 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-17 16:08:01 +0100 |
commit | 98abf9b1f795271a8bafb74b97e856aafb185eb9 (patch) | |
tree | fa0e9804a1a955f16e9a107d06fd7d3ea2563b3f /unmodified_drivers/linux-2.6/platform-pci/xen_support.c | |
parent | eb97b7dc2b268b799596764eb7ed8c41708223e1 (diff) | |
download | xen-98abf9b1f795271a8bafb74b97e856aafb185eb9.tar.gz xen-98abf9b1f795271a8bafb74b97e856aafb185eb9.tar.bz2 xen-98abf9b1f795271a8bafb74b97e856aafb185eb9.zip |
[HVM] Linux driver for the xen platform pseudo-PCI device.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/platform-pci/xen_support.c')
-rw-r--r-- | unmodified_drivers/linux-2.6/platform-pci/xen_support.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c new file mode 100644 index 0000000000..c3a6bec595 --- /dev/null +++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c @@ -0,0 +1,39 @@ +/****************************************************************************** + * support.c + * Xen module support functions. + * Copyright (C) 2004, Intel Corporation. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., 59 Temple + * Place - Suite 330, Boston, MA 02111-1307 USA. + * + */ + +#include <linux/module.h> +#include <linux/init.h> +#include <linux/mm.h> +#include <xen/evtchn.h> +#include <xen/interface/xen.h> +#include <asm/hypervisor.h> +#include "platform-pci.h" + +EXPORT_SYMBOL(xen_machphys_update); +void xen_machphys_update(unsigned long mfn, unsigned long pfn) +{ + BUG(); +} + +void balloon_update_driver_allowance(long delta) +{ +} + +EXPORT_SYMBOL(balloon_update_driver_allowance); |