aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/mpparse.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-01 16:28:50 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-02-01 16:28:50 +0100
commitd8b61b1e9f8b719376779b41f29e01ca971c653d (patch)
tree1a4cac162f47222b184dad65cf3e90d942d93197 /xen/arch/x86/mpparse.c
parent01f7c3a66cc11ac92bffc302e30053b5491884dc (diff)
downloadxen-d8b61b1e9f8b719376779b41f29e01ca971c653d.tar.gz
xen-d8b61b1e9f8b719376779b41f29e01ca971c653d.tar.bz2
xen-d8b61b1e9f8b719376779b41f29e01ca971c653d.zip
Rename physical-address-related variables and functions
to follow a new ocnsistent naming scheme. gpfn is a guest pseudophys frame number. gmfn is a machine frame number (from guest p.o.v.) mfn is a real bona fide machine number. pfn is an arbitrary frame number (used in general-purpose 'polymorphic' functions). pfn_info now called page_info. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/mpparse.c')
-rw-r--r--xen/arch/x86/mpparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/mpparse.c b/xen/arch/x86/mpparse.c
index af667dad2d..f4c61b4d33 100644
--- a/xen/arch/x86/mpparse.c
+++ b/xen/arch/x86/mpparse.c
@@ -737,7 +737,7 @@ int __init mp_get_num_processors(void)
static int __init smp_scan_config (unsigned long base, unsigned long length)
{
- unsigned int *bp = phys_to_virt(base);
+ unsigned int *bp = maddr_to_virt(base);
struct intel_mp_floating *mpf;
Dprintk("Scan SMP from %p for %ld bytes.\n", bp,length);
@@ -754,9 +754,9 @@ static int __init smp_scan_config (unsigned long base, unsigned long length)
smp_found_config = 1;
printk(KERN_INFO "found SMP MP-table at %08lx\n",
- virt_to_phys(mpf));
+ virt_to_maddr(mpf));
#if 0
- reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE);
+ reserve_bootmem(virt_to_maddr(mpf), PAGE_SIZE);
if (mpf->mpf_physptr) {
/*
* We cannot access to MPC table to compute