On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote: > +enum sgx_alloc_flags { > + SGX_ALLOC_ATOMIC = BIT(0), > +}; Doing this with enums is unprecedented IMNHO. Why are you doing it this way for simple, one-off constants?
On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote: > +enum sgx_alloc_flags { > + SGX_ALLOC_ATOMIC = BIT(0), > +}; Doing this with enums is unprecedented IMNHO. Why are you doing it this way for simple, one-off constants?