Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28c72583 authored by James Morse's avatar James Morse Committed by Will Deacon
Browse files

arm64: Promote KERNEL_START/KERNEL_END definitions to a header file



KERNEL_START and KERNEL_END are useful outside head.S, move them to a
header file.

Signed-off-by: default avatarJames Morse <james.morse@arm.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 81226455
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -87,6 +87,9 @@

#define TASK_UNMAPPED_BASE	(PAGE_ALIGN(TASK_SIZE / 4))

#define KERNEL_START      _text
#define KERNEL_END        _end

/*
 * The size of the KASAN shadow region. This should be 1/8th of the
 * size of the entire kernel virtual address space.
+0 −3
Original line number Diff line number Diff line
@@ -52,9 +52,6 @@
#error TEXT_OFFSET must be less than 2MB
#endif

#define KERNEL_START	_text
#define KERNEL_END	_end

/*
 * Kernel startup entry point.
 * ---------------------------