diff options
author | mortimer <mortimer@cvs.openbsd.org> | 2019-11-29 22:34:10 +0000 |
---|---|---|
committer | mortimer <mortimer@cvs.openbsd.org> | 2019-11-29 22:34:10 +0000 |
commit | d27612e2acc3c1a3c373de4b3d4379fdd0411fd0 (patch) | |
tree | 7e53bce897710d5290f483299e5c8b01401e98f7 | |
parent | f2a141cc3a7ea7b52beeb9c25130087612f6f95c (diff) |
Fix size of reserved bytes section in xsave header.
ok guenther@ kettenis@
-rw-r--r-- | sys/arch/amd64/include/fpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/fpu.h b/sys/arch/amd64/include/fpu.h index 017a0e9f080..7ed0a73b619 100644 --- a/sys/arch/amd64/include/fpu.h +++ b/sys/arch/amd64/include/fpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu.h,v 1.16 2018/10/07 22:43:06 guenther Exp $ */ +/* $OpenBSD: fpu.h,v 1.17 2019/11/29 22:34:09 mortimer Exp $ */ /* $NetBSD: fpu.h,v 1.1 2003/04/26 18:39:40 fvdl Exp $ */ #ifndef _MACHINE_FPU_H_ @@ -32,7 +32,7 @@ struct fxsave64 { struct xstate_hdr { uint64_t xstate_bv; uint64_t xstate_xcomp_bv; - uint8_t xstate_rsrv0[0]; + uint8_t xstate_rsrv0[8]; uint8_t xstate_rsrv[40]; } __packed; |