eclair: obtain MAP_KERNEL_START from kernel image

Change-Id: I946c640ddb2e2b32362760254a86c611517becf3
This commit is contained in:
Balazs Gerofi
2020-02-10 07:04:37 +00:00
parent d1df17ffb7
commit 7882110e9f
6 changed files with 29 additions and 17 deletions

View File

@@ -9,15 +9,11 @@
#
# if (CONFIG_ARM64_VA_BITS == 42)
# /* VA_BITS=42, 64K_PAGE address */
# define MAP_KERNEL 0xfffffc0007800000
# define MAP_ST 0xfffffe0000000000
# define MAP_KERNEL_TEXT "0xfffffc0007800000"
#
# elif (CONFIG_ARM64_VA_BITS == 48)
# /* VA_BITS=48, 64K_PAGE address */
# define MAP_KERNEL 0xffff000007800000
# define MAP_ST 0xffff800000000000
# define MAP_KERNEL_TEXT "0xffff000007800000"
#
# else
#
@@ -29,15 +25,11 @@
#
# if (CONFIG_ARM64_VA_BITS == 39)
# /* VA_BITS=39, 4K_PAGE address */
# define MAP_KERNEL 0xffffff8007800000
# define MAP_ST 0xffffffc000000000
# define MAP_KERNEL_TEXT "0xffffff8007800000"
#
# elif (CONFIG_ARM64_VA_BITS == 48)
# /* VA_BITS=48, 4K_PAGE address */
# define MAP_KERNEL 0xffff000007800000
# define MAP_ST 0xffff800000000000
# define MAP_KERNEL_TEXT "0xffff000007800000"
#
# else
#