Messages in this thread | | | Date | Fri, 31 Oct 2014 14:50:10 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [RFC][PATCH] x86 mpx: give bndX registers actual names |
| |
On 10/31/2014 02:22 PM, Dave Hansen wrote: > > -struct bndregs_struct { > - u64 bndregs[8]; > +struct bndreg_struct { > + u64 lb; /* lower bound */ > + u64 ub; /* upper bound */ > } __packed; > > struct bndcsr_struct { > @@ -394,7 +395,7 @@ struct xsave_struct { > struct xsave_hdr_struct xsave_hdr; > struct ymmh_struct ymmh; > struct lwp_struct lwp; > - struct bndregs_struct bndregs; > + struct bndreg_struct bnd[4]; > struct bndcsr_struct bndcsr; > /* new processor state extensions will go here */ > } __attribute__ ((packed, aligned (64))); > _ >
How about "struct bndreg"?
-hpa
| |