coreboot-kgpe-d16/payloads/libpayload/arch/mips
Andrew Bresticker 44c5105890 libpayload: mips: Do not set C0_EBase_WG
The WG (write gate) bit in C0_EBase allows the upper two bits of
the exception base address to be set to something other than 2'b10,
thus allowing it to be relocated out of the traditional KSEG{0,1}
range.  Since we're not using the segmentation features introduced
by EVA to relocate the unmapped segments, the exception vectors
should remain in KSEG0.  Don't set the WG bit so that the upper
two bits of the exception base (2'b00, because of the identity
mapping) are ignored and we execute the exception vectors out of
KSEG0.

BUG=chrome-os-partner:36258
BRANCH=none
TEST=Build and boot on Pistachio.

Change-Id: Ie8b4eb6e41a328e7055736c9e3f6ff5ec83b9e13
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: d5b002f5ae71c7729e467d4fe3fd8db187e15dea
Original-Change-Id: Id8b930db1e7a68f52dd61be4dfa9edaee2bebf7d
Original-Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/246697
Original-Reviewed-by: Ionela Voinescu <ionela.voinescu@imgtec.com>
Original-Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/9822
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-21 08:13:52 +02:00
..
Config.in
Makefile.inc libpayload: mips: Add macros to convert to/from KSEG{0,1} addresses 2015-04-21 08:13:03 +02:00
cache.c
coreboot.c libpayload: mips: Use KSEG1 to access DMA-coherent memory 2015-04-21 08:12:29 +02:00
dummy_media.c
exception.c
exception_asm.S libpayload: mips: Do not set C0_EBase_WG 2015-04-21 08:13:52 +02:00
gdb.c
head.S
libpayload.ldscript libpayload: mips: Set BASE_ADDRESS to 0 2015-04-21 08:12:22 +02:00
main.c
selfboot.c
string.c
sysinfo.c
timer.c libpayload: mips: add SOC CPU frequency 2015-03-21 11:09:22 +01:00
util.S