aboutsummaryrefslogtreecommitdiff
path: root/include/mem-map.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-03-26 15:06:00 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-03-27 00:41:09 -0500
commit336f306555d02505a429a0a01b06bf7130c36c03 (patch)
tree3f0e9353732e547f09894f4210fc16f34862f2f4 /include/mem-map.h
parent8cabd06243ac077a4ca6c09424fac92941b72321 (diff)
downloadskiboot-336f306555d02505a429a0a01b06bf7130c36c03.zip
skiboot-336f306555d02505a429a0a01b06bf7130c36c03.tar.gz
skiboot-336f306555d02505a429a0a01b06bf7130c36c03.tar.bz2
mem-map: Use a symbolic constant for exception vector size
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/mem-map.h')
-rw-r--r--include/mem-map.h5
1 files changed, 5 insertions, 0 deletions
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.
*/