Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2024 04:05:38 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 391d212c42cf - stable/13 - amd64 pcb.h: use 4 hex digits for pcb flags
Message-ID:  <202402140405.41E45cmh082557@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=391d212c42cf2a64639425126c48bb6edbbbcdcf

commit 391d212c42cf2a64639425126c48bb6edbbbcdcf
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-02-09 05:05:02 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-02-14 03:54:00 +0000

    amd64 pcb.h: use 4 hex digits for pcb flags
    
    (cherry picked from commit 5f7ac491eef4994b23b4de250927a85c69a64a31)
---
 sys/amd64/include/pcb.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index f98e5f68dd96..2205607fa6fe 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -78,14 +78,14 @@ struct pcb {
 	uint16_t	pcb_tr;
 
 	u_int		pcb_flags;
-#define	PCB_FULL_IRET	0x01	/* full iret is required */
-#define	PCB_DBREGS	0x02	/* process using debug registers */
-#define	PCB_KERNFPU	0x04	/* kernel uses fpu */
-#define	PCB_FPUINITDONE	0x08	/* fpu state is initialized */
-#define	PCB_USERFPUINITDONE 0x10 /* fpu user state is initialized */
-#define	PCB_KERNFPU_THR	0x20	/* fpu_kern_thread() */
-#define	PCB_32BIT	0x40	/* process has 32 bit context (segs etc) */
-#define	PCB_FPUNOSAVE	0x80	/* no save area for current FPU ctx */
+#define	PCB_FULL_IRET	0x0001	/* full iret is required */
+#define	PCB_DBREGS	0x0002	/* process using debug registers */
+#define	PCB_KERNFPU	0x0004	/* kernel uses fpu */
+#define	PCB_FPUINITDONE	0x0008	/* fpu state is initialized */
+#define	PCB_USERFPUINITDONE 0x0010 /* fpu user state is initialized */
+#define	PCB_KERNFPU_THR	0x0020	/* fpu_kern_thread() */
+#define	PCB_32BIT	0x0040	/* process has 32 bit context (segs etc) */
+#define	PCB_FPUNOSAVE	0x0080	/* no save area for current FPU ctx */
 
 	uint16_t	pcb_initial_fpucw;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402140405.41E45cmh082557>