]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(el3-runtime): introduce system register trap handler
authorAndre Przywara <andre.przywara@arm.com>
Mon, 21 Nov 2022 17:04:10 +0000 (17:04 +0000)
committerManish Pandey <manish.pandey2@arm.com>
Wed, 21 Dec 2022 10:25:25 +0000 (10:25 +0000)
commitccd81f1e097c3eafe38523110c8eebabbe662508
treeb653a1534163027e1649a7ac18c539be46d160b3
parentf4d8ed50d27687d437e6885d2b6445a720ae9f69
feat(el3-runtime): introduce system register trap handler

At the moment we only handle SMC traps from lower ELs, but ignore any
other synchronous traps and just panic.
To cope with system register traps, which we might need to emulate,
introduce a C function to handle those traps, and wire that up in the
exception handler to be called.

We provide a dispatcher function (in C), that will call platform
specific implementation for certain (classes of) system registers.
For now this is empty.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Change-Id: If147bcb49472eb02791498700300926afbcf75ff
bl31/aarch64/runtime_exceptions.S
bl31/bl31.mk
bl31/bl31_traps.c [new file with mode: 0644]
include/bl31/sync_handle.h [new file with mode: 0644]