]> git.dujemihanovic.xyz Git - u-boot.git/commit
MIPS: reserve space for exception vectors
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 9 Jan 2016 17:34:14 +0000 (18:34 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 30 Nov 2016 15:11:46 +0000 (16:11 +0100)
commitbd60252811c3c81dd0a32c0871b9116ba160190f
treeebdbe28f9b8f75e54e30b6de07bc1768b319312d
parent67588bdade302b9c26e00f6a2ceaccaf8fd98fba
MIPS: reserve space for exception vectors

In order to set own exception handlers, a table with the exception
vectors must be built in DRAM and the CPU EBase register must be
set to the base address of this table.

Reserve the space above the stack and use gd->irq_sp as storage
for the exception base address.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/lib/Makefile
arch/mips/lib/stack.c [new file with mode: 0644]