coreboot/src/cpu
Aaron Durbin 696c642afa cpu/x86: add limited runtime identity page mapping
When employing PAGING_IN_CACHE_AS_RAM more areas need to be
mapped in at runtime. Therefore, paging_identity_map_addr() is
added to support adding identity mappings. Because there are a
fixed amount of pages in cache-as-ram paging only the existing
paging structures can be used. As such that's a limitation on
what regions and length one can map. Using util/x86/x86_page_tables.go
to generate page tables will always populate all the page directory
pages. Therefore, 2MiB mappings are easy to map in.

BUG=b:72728953

Change-Id: Ibe33aa12972ff678d2e9b80874529380b4ce9fd7
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/25718
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-04-26 06:55:59 +00:00
..
allwinner driver/uart: Introduce a way for mainboard to override the baudrate 2018-02-21 16:09:06 +00:00
amd cpu/amd/microcode/microcode.c: Remove unneeded whitespace 2018-04-10 10:47:46 +00:00
armltd vboot2: add verstage 2015-01-27 01:41:40 +01:00
intel compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
qemu-power8 Constify struct cpu_device_id instances 2017-11-23 05:00:17 +00:00
qemu-x86 Constify struct cpu_device_id instances 2017-11-23 05:00:17 +00:00
ti driver/uart: Introduce a way for mainboard to override the baudrate 2018-02-21 16:09:06 +00:00
via cpu/via/car: drop CARTEST 2018-04-25 11:45:28 +00:00
x86 cpu/x86: add limited runtime identity page mapping 2018-04-26 06:55:59 +00:00
Kconfig cpu: assume SSE if SSE2 is selected 2017-11-04 00:34:20 +00:00
Makefile.inc DMP Vortex86ex board & chip: Remove - using LATE_CBMEM_INIT 2018-01-15 23:23:17 +00:00