sync with OpenBSD -current

This commit is contained in:
purplerain 2024-06-07 18:32:47 +00:00
parent 6040ea8924
commit 2d0895064a
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
17 changed files with 392 additions and 53 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: copy.S,v 1.19 2023/07/28 06:18:35 guenther Exp $ */
/* $OpenBSD: copy.S,v 1.20 2024/06/06 00:36:46 bluhm Exp $ */
/* $NetBSD: copy.S,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*
@ -189,6 +189,7 @@ ENTRY(_copyin)
NENTRY(copy_fault)
DECLARE_ONFAULT(copy_fault)
cld
SMAP_CLAC
movq CPUVAR(CURPCB),%rdx
popq PCB_ONFAULT(%rdx)

View file

@ -1,4 +1,4 @@
/* $OpenBSD: db_disasm.c,v 1.24 2023/04/22 18:26:17 guenther Exp $ */
/* $OpenBSD: db_disasm.c,v 1.25 2024/06/06 12:36:41 bluhm Exp $ */
/* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */
/*
@ -793,7 +793,7 @@ struct inst db_inst_table[256] = {
/*e6*/ { "out", 0, BYTE, op2(A, Ib), 0 },
/*e7*/ { "out", 0, LONG, op2(A, Ib) , 0 },
/*e8*/ { "call", 0, QUAD, op1(Dl), 0 },
/*e8*/ { "call", 0, NONE, op1(Dl), 0 },
/*e9*/ { "jmp", 0, NONE, op1(Dl), 0 },
/*ea*/ { "", 0, NONE, op1(OS), 0 },
/*eb*/ { "jmp", 0, NONE, op1(Db), 0 },

View file

@ -1,4 +1,4 @@
/* $OpenBSD: locore.s,v 1.204 2023/12/12 07:37:20 deraadt Exp $ */
/* $OpenBSD: locore.s,v 1.205 2024/06/06 00:36:46 bluhm Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@ -555,6 +555,7 @@ ENTRY(_copyin)
ret
ENTRY(copy_fault)
cld
SMAP_CLAC
GET_CURPCB(%edx)
popl PCB_ONFAULT(%edx)