aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-12-08 22:22:50 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-12-16 14:50:56 +1100
commit0d12f0c88b04547349424903548aa649d2a00780 (patch)
treef9655af8110411d5f7b7600bac4e53b6ba95bacb /include
parent8d49ff5356f0aadf84e54d3ced04632f0d748436 (diff)
downloadskiboot-0d12f0c88b04547349424903548aa649d2a00780.zip
skiboot-0d12f0c88b04547349424903548aa649d2a00780.tar.gz
skiboot-0d12f0c88b04547349424903548aa649d2a00780.tar.bz2
naca: move naca definition from asm to C
This results in the same layout and location of the naca and hv data structures. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/mem-map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mem-map.h b/include/mem-map.h
index 61ecac3..8ac11e9 100644
--- a/include/mem-map.h
+++ b/include/mem-map.h
@@ -21,6 +21,8 @@
*/
#define EXCEPTION_VECTORS_END 0x2000
+#define NACA_OFF 0x4000
+
/* 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.
*/