forked from Mirrors/opensbi
platform: generic: thead: separate implement of T-HEAD c9xx errata
Separate the implement of T-HEAD c9xx errata to allow any platform with bug related to c9xx cores can use it. Signed-off-by: Inochi Amaoto <inochiama@outlook.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
8e941e7fe3
commit
492d9b153d
13
platform/generic/thead/thead_c9xx_tlb_trap_handler.S
Normal file
13
platform/generic/thead/thead_c9xx_tlb_trap_handler.S
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* Authors:
|
||||
* Inochi Amaoto <inochiama@outlook.com>
|
||||
*
|
||||
*/
|
||||
.section .entry, "ax", %progbits
|
||||
.align 3
|
||||
.globl _thead_tlb_flush_fixup_trap_handler
|
||||
_thead_tlb_flush_fixup_trap_handler:
|
||||
sfence.vma t0, zero
|
||||
j _trap_handler
|
Reference in New Issue
Block a user