The branch main has been updated by andrew:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=376025cfb1c2008ea849ed902de6e5f417a09ee2

commit 376025cfb1c2008ea849ed902de6e5f417a09ee2
Author:     Andrew Turner <[email protected]>
AuthorDate: 2022-09-06 16:49:00 +0000
Commit:     Andrew Turner <[email protected]>
CommitDate: 2022-09-08 13:23:20 +0000

    Move the non-exported PCB_FP_* flags to the upper bits
    
    To make way for a flag for SVE move the PCB_FP_* flags we don't export
    to userspace to the upper bits.
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/arm64/include/pcb.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/arm64/include/pcb.h b/sys/arm64/include/pcb.h
index 012ed2c92741..a7416d65b344 100644
--- a/sys/arm64/include/pcb.h
+++ b/sys/arm64/include/pcb.h
@@ -54,9 +54,9 @@ struct pcb {
 
        struct vfpstate *pcb_fpusaved;
        int             pcb_fpflags;
-#define        PCB_FP_STARTED  0x01
-#define        PCB_FP_KERN     0x02
-#define        PCB_FP_NOSAVE   0x04
+#define        PCB_FP_STARTED  0x00000001
+#define        PCB_FP_KERN     0x40000000
+#define        PCB_FP_NOSAVE   0x80000000
 /* The bits passed to userspace in get_fpcontext */
 #define        PCB_FP_USERMASK (PCB_FP_STARTED)
        u_int           pcb_vfpcpu;     /* Last cpu this thread ran VFP code */

Reply via email to