From 336f306555d02505a429a0a01b06bf7130c36c03 Mon Sep 17 00:00:00 2001 From: Nicholas Piggin Date: Mon, 26 Mar 2018 15:06:00 +1000 Subject: mem-map: Use a symbolic constant for exception vector size Signed-off-by: Nicholas Piggin Signed-off-by: Stewart Smith --- include/mem-map.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/mem-map.h') diff --git a/include/mem-map.h b/include/mem-map.h index 0573351..d2bc23f 100644 --- a/include/mem-map.h +++ b/include/mem-map.h @@ -29,6 +29,11 @@ #define STACK_SHIFT 14 #define STACK_SIZE (1 << STACK_SHIFT) +/* End of the exception region we copy from 0x0. 0x0-0x100 will have + * IPL data and is not actually for exception vectors. + */ +#define EXCEPTION_VECTORS_END 0x2000 + /* The NACA and other stuff in head.S need to be at the start: we * give it 64k before placing the SPIRA and related data. */ -- cgit v1.1