the following patch was just integrated into master: commit 31f0521a996791f842af94f0c561c18fd2aec2ba Author: Thaminda Edirisooriya thaminda@google.com Date: Wed Aug 26 12:22:29 2015 -0700
riscv-trap-handling: Add preliminary trap handling for riscv
RISCV requires a trap handler at the machine stage to deal with misaligned loads/stores, as well as to deal with calls that a linux payload will make in its setup. Put required assembly for jumping into and out of a trap here to be set up by the bootblock in a later commit.
Change-Id: Ibf6b18e477aaa1c415a31dbeffa50a2470a7ab2e Signed-off-by: Thaminda Edirisooriya thaminda@google.com Reviewed-on: http://review.coreboot.org/11367 Reviewed-by: Ronald G. Minnich rminnich@gmail.com Tested-by: build bot (Jenkins)
See http://review.coreboot.org/11367 for details.
-gerrit