diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2019-06-17 12:25:50 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2019-06-17 12:25:50 +0000 |
commit | 24659d9c81603df90ca93b30041b38fa87b3d3eb (patch) | |
tree | 506c7f341b5e2599f02433b2f2bcf7417f4470c1 | |
parent | 4eacb848f1e1acecc816afda6cdcadd318ac3c60 (diff) |
The copyfault handler is supposed to store the old handler in the pcb.
ok kettenis@
-rw-r--r-- | sys/arch/arm64/arm64/copy.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/arm64/copy.S b/sys/arch/arm64/arm64/copy.S index 4ced221e81f..9d461fffbfa 100644 --- a/sys/arch/arm64/arm64/copy.S +++ b/sys/arch/arm64/arm64/copy.S @@ -1,4 +1,4 @@ -/* $OpenBSD: copy.S,v 1.5 2018/08/12 17:15:10 mortimer Exp $ */ +/* $OpenBSD: copy.S,v 1.6 2019/06/17 12:25:49 patrick Exp $ */ /* * Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com> * Copyright (c) 2014 Patrick Wildt <patrick@blueri.se> @@ -60,7 +60,7 @@ ENTRY(copyin) .Lcopyfault: mov x0, #EFAULT - ldr x4, [x3, #(PCB_ONFAULT)] + str x4, [x3, #(PCB_ONFAULT)] RETGUARD_CHECK(copy, x15) ret |