mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Align virtual addressing entries.
This is required due to C-compressed ISA extension option being turned on. This fixes SMP operation in QEMU. Sponsored by: DARPA, AFRL
This commit is contained in:
parent
0c38b2d37c
commit
a9063ba1d7
1 changed files with 4 additions and 0 deletions
|
|
@ -156,6 +156,8 @@ _start:
|
|||
or s2, s2, t0
|
||||
sfence.vma
|
||||
csrw sptbr, s2
|
||||
|
||||
.align 2
|
||||
va:
|
||||
|
||||
/* Setup supervisor trap vector */
|
||||
|
|
@ -284,6 +286,8 @@ ENTRY(mpentry)
|
|||
or s2, s2, t0
|
||||
sfence.vma
|
||||
csrw sptbr, s2
|
||||
|
||||
.align 2
|
||||
mpva:
|
||||
/* Setup supervisor trap vector */
|
||||
la t0, cpu_exception_handler
|
||||
|
|
|
|||
Loading…
Reference in a new issue