aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/types.h
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/include/asm-x86/types.h
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/include/asm-x86/types.h')
-rw-r--r--xen/include/asm-x86/types.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/xen/include/asm-x86/types.h b/xen/include/asm-x86/types.h
index 896f6b7164..1ebe5a16d9 100644
--- a/xen/include/asm-x86/types.h
+++ b/xen/include/asm-x86/types.h
@@ -37,17 +37,17 @@ typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;
#if defined(CONFIG_X86_PAE)
-typedef u64 physaddr_t;
-#define PRIphysaddr "016llx"
+typedef u64 paddr_t;
+#define PRIpaddr "016llx"
#else
-typedef unsigned long physaddr_t;
-#define PRIphysaddr "08lx"
+typedef unsigned long paddr_t;
+#define PRIpaddr "08lx"
#endif
#elif defined(__x86_64__)
typedef signed long s64;
typedef unsigned long u64;
-typedef unsigned long physaddr_t;
-#define PRIphysaddr "016lx"
+typedef unsigned long paddr_t;
+#define PRIpaddr "016lx"
#endif
typedef unsigned long size_t;