summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2024-03-11 14:40:12 +0530
committerAnup Patel <[email protected]>2024-03-19 11:31:22 +0530
commitabea949721bc635cfe39e34adc501d7be87db8ae (patch)
tree35652f64f58ca8f33cc0545b05060b5fd65d879d /scripts
parent60ffc154c84dfe93b23bd02566310deb153a4360 (diff)
lib: sbi: Introduce trap context
Club the struct sbi_trap_regs and struct sbi_trap_info a new struct sbi_trap_context (aka trap context) which must be saved by low-level trap handler before calling sbi_trap_handler(). To track nested traps, the struct sbi_scratch points to the current trap context and the trap context has pointer to pervious context of previous trap. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Samuel Holland <[email protected]> Tested-by: Samuel Holland <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions