arch/x86: Share storage data structures between early stages

Define a common area in CAR so that the storage data structures can be
shared between stages.

TEST=Build and run on Reef

Change-Id: I20a01b850a31df9887a428bf07ca476c8410d33e
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/19300
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
This commit is contained in:
Lee Leahy 2017-04-14 09:42:59 -07:00
parent 89331cd4c8
commit 43d0d0d1f4
1 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,11 @@
* to reside in the migrated area (between _car_relocatable_data_start * to reside in the migrated area (between _car_relocatable_data_start
* and _car_relocatable_data_end). */ * and _car_relocatable_data_end). */
TIMESTAMP(., 0x100) TIMESTAMP(., 0x100)
#if IS_ENABLED(CONFIG_DRIVERS_STORAGE)
_car_drivers_storage_start = .;
. += 256;
_car_drivers_storage_end = .;
#endif
/* _car_global_start and _car_global_end provide symbols to per-stage /* _car_global_start and _car_global_end provide symbols to per-stage
* variables that are not shared like the timestamp and the pre-ram * variables that are not shared like the timestamp and the pre-ram
* cbmem console. This is useful for clearing this area on a per-stage * cbmem console. This is useful for clearing this area on a per-stage