direct-io.hg

view unmodified_drivers/linux-2.6/platform-pci/xen_support.c @ 11226:fc5736e0a2eb

[x86_64] Guests no longer set _PAGE_USER on kernel mappings.
This may allow guest kernels to be run outside ring 3 in future, and
also provides scope for optimisations today (e.g., using global bit on
user mappings).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Aug 22 15:26:40 2006 +0100 (2006-08-22)
parents 879918dbe77f
children 2b78726766d1
line source
1 /******************************************************************************
2 * support.c
3 * Xen module support functions.
4 * Copyright (C) 2004, Intel Corporation.
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 #include <linux/module.h>
22 #include <linux/init.h>
23 #include <linux/mm.h>
24 #include <xen/evtchn.h>
25 #include <xen/interface/xen.h>
26 #include <asm/hypervisor.h>
27 #include "platform-pci.h"
29 EXPORT_SYMBOL(xen_machphys_update);
30 void xen_machphys_update(unsigned long mfn, unsigned long pfn)
31 {
32 BUG();
33 }
35 void balloon_update_driver_allowance(long delta)
36 {
37 }
39 EXPORT_SYMBOL(balloon_update_driver_allowance);