diff options
author | Gustavo F. Padovan <gustavo@las.ic.unicamp.br> | 2009-02-15 19:48:53 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-27 23:57:47 -0500 |
commit | ab93e3c45dbac66c2e8e24fd560c052a3907903e (patch) | |
tree | b2afbfce5adac7aab9b8f5594a6ba904ddf0cc0d /arch/x86 | |
parent | d09375a9ec80d8bae06196bb247460e0829d884c (diff) |
x86, fixmap: define FIXADDR_BOOT_* and redefine FIX_ADDR_SIZE
Impact: new interface, not yet used
Now, with these macros, x86_64 code can know where start the
permanent and non-permanent fixed mapped address.
This patch make these macros equal fixmap_32.h for future
x86 integration.
Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Acked-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/fixmap_64.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/include/asm/fixmap_64.h b/arch/x86/include/asm/fixmap_64.h index 298d9ba3faeb..d905de086753 100644 --- a/arch/x86/include/asm/fixmap_64.h +++ b/arch/x86/include/asm/fixmap_64.h | |||
@@ -69,8 +69,11 @@ enum fixed_addresses { | |||
69 | }; | 69 | }; |
70 | 70 | ||
71 | #define FIXADDR_TOP (VSYSCALL_END-PAGE_SIZE) | 71 | #define FIXADDR_TOP (VSYSCALL_END-PAGE_SIZE) |
72 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | 72 | |
73 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) | 73 | #define FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT) |
74 | #define FIXADDR_BOOT_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | ||
75 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) | ||
76 | #define FIXADDR_BOOT_START (FIXADDR_TOP - FIXADDR_BOOT_SIZE) | ||
74 | 77 | ||
75 | /* Only covers 32bit vsyscalls currently. Need another set for 64bit. */ | 78 | /* Only covers 32bit vsyscalls currently. Need another set for 64bit. */ |
76 | #define FIXADDR_USER_START ((unsigned long)VSYSCALL32_VSYSCALL) | 79 | #define FIXADDR_USER_START ((unsigned long)VSYSCALL32_VSYSCALL) |