9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e88341aebb581d3376fa005d55efb145ee1b22c1
parent d45fe9f17da338c31b7a5a63f8285eaa4243d37e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 18 Oct 2020 09:29:43 +0200

os9/arm64: Set exception table at high memory

Change-Id: I4aa92902d4498f549833066bcd9bc291ed4fd0e7

Diffstat:
Msrc/os9/arch/arm64/crt.s | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/os9/arch/arm64/crt.s b/src/os9/arch/arm64/crt.s @@ -52,17 +52,23 @@ EL1: BL initmap BL immu BL kernelmap - BL HMEM + BL hmem + + ADR X10,vectbl + MSR VBAR_EL1,X10 + ISB + BL main + ADR X0,OUTSYNC B panic .TEXT -HMEM: +hmem: ADR X0,mach LDR X9,[X0,16] ADD X30,X30,X9 RET OUTSYNC: - .ASCIZ "Out of sync" + .ASCIZ "out of sync"