aboutsummaryrefslogtreecommitdiff
path: root/include/mem-map.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2016-03-22 11:18:55 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-04-01 13:11:25 +1100
commit9abe84f83212d6e92c8c3d15f73b8fa26b169fdc (patch)
treea4185e6654566d6ecf113b45b9886e415e2980e5 /include/mem-map.h
parent198aa67cc87a106923c7de435951d0e4a89d327e (diff)
downloadskiboot-9abe84f83212d6e92c8c3d15f73b8fa26b169fdc.zip
skiboot-9abe84f83212d6e92c8c3d15f73b8fa26b169fdc.tar.gz
skiboot-9abe84f83212d6e92c8c3d15f73b8fa26b169fdc.tar.bz2
hdata: Initialize SPIRA-H structure
Previous patch reduced reserved space in spira structure. Now its safe to reduce the memory for spira section from 2K to 1K. Create separate memory section with 1K size for SPIRA-H. Also initialize SPIRA-H. FSP makes use of this information to pass various boot time data (like SPIRA-S, etc) to host. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.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, 4 insertions, 1 deletions
diff --git a/include/mem-map.h b/include/mem-map.h
index 1258d87..2bcaf07 100644
--- a/include/mem-map.h
+++ b/include/mem-map.h
@@ -33,8 +33,11 @@
* give it 64k before placing the SPIRA and related data.
*/
#define SPIRA_OFF 0x00010000
+#define SPIRAH_OFF 0x00010400
-/* SPIRA is 2k, then follow with for proc_init_data (aka PROCIN).
+/* Actual SPIRA size is lesser than 1K (presently 0x340 bytes).
+ * Use 1K for legacy SPIRA and 1K for SPIRA-H.
+ * Then follow with for proc_init_data (aka PROCIN).
* These need to be at fixed addresses in case we're ever little
* endian: linker can't endian reverse a pointer for us. Text, data
* et. al. follows this.