Re: [PATCH v13 04/13] x86/sgx: Architectural structures

From: Dave Hansen
Date: Tue Sep 04 2018 - 12:04:49 EST


On 09/03/2018 06:16 AM, Andy Shevchenko wrote:
>> + EBLOCK = 0x9,
>> + EPA = 0xA,
>> + EWB = 0xB,
>> + ETRACK = 0xC,
>> + EAUG = 0xD,
>> + EMODPR = 0xE,
>> + EMODT = 0xF,
>> +};
> Hmm... This E prefix confuses me with (system wide) error codes. Has
> it been discussed before? If so, can you point on the conclusion why
> the current format is good?

Making them SGX_EWHATEVER isn't a horrible idea.