[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/8] Fix delivery of unaligned access exceptions.
From: |
Jason Thorpe |
Subject: |
[PATCH 2/8] Fix delivery of unaligned access exceptions. |
Date: |
Wed, 2 Jun 2021 20:53:11 -0700 |
In the unaligned access exception vector, actually pass the return PC
in the exception frame. This is required in order for unaligned access
fixup handlers in the operating system to work.
Signed-off-by: Jason Thorpe <thorpej@me.com>
---
pal.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pal.S b/pal.S
index 64941a8..015a829 100644
--- a/pal.S
+++ b/pal.S
@@ -278,7 +278,7 @@ Pal_Unalign:
blbs p6, MchkBugCheck
addq p6, 4, p6 // increment past the faulting insn
- STACK_FRAME p0, p1, p2, 1
+ STACK_FRAME p0, p6, p2, 1
mfpr p0, ptEntUna
mfpr $gp, ptKgp
--
2.30.2
- [PATCH 0/8] PALcode fixes required to run NetBSD/alpha., Jason Thorpe, 2021/06/02
- [PATCH 3/8] Fix initialization of the hwrpb.hwrpb.cpuid field., Jason Thorpe, 2021/06/02
- [PATCH 1/8] Make qemu-palcode build environment standalone. NFC., Jason Thorpe, 2021/06/02
- [PATCH 2/8] Fix delivery of unaligned access exceptions.,
Jason Thorpe <=
- [PATCH 4/8] Make some PCI macros available to other files. NFC., Jason Thorpe, 2021/06/02
- [PATCH 5/8] Fix incorrect initialization of PCI BARs., Jason Thorpe, 2021/06/02
- [PATCH 6/8] Provide interrupt mapping information in PCI config registers., Jason Thorpe, 2021/06/02
- [PATCH 7/8] Provide a Console Terminal Block in the HWRPB., Jason Thorpe, 2021/06/02