diff options
Diffstat (limited to 'src/soc/intel/fsp_broadwell_de/memmap.c')
-rw-r--r-- | src/soc/intel/fsp_broadwell_de/memmap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/memmap.c b/src/soc/intel/fsp_broadwell_de/memmap.c index 36f400c7b3..cbd3cf7788 100644 --- a/src/soc/intel/fsp_broadwell_de/memmap.c +++ b/src/soc/intel/fsp_broadwell_de/memmap.c @@ -17,6 +17,7 @@ #define __SIMPLE_DEVICE__ #include <cbmem.h> +#include <cpu/x86/smm.h> #include <drivers/intel/fsp1_0/fsp_util.h> #include <soc/broadwell_de.h> #include <soc/pci_devs.h> @@ -51,3 +52,9 @@ size_t sa_get_tseg_size(void) /* Subtract base to get the size */ return ret - sa_get_tseg_base(); } + +void smm_region(uintptr_t *start, size_t *size) +{ + *start = sa_get_tseg_base(); + *size = sa_get_tseg_size(); +} |