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
This commit is contained in:
parent
6ad780caa2
commit
376025cfb1
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user