On 2025/7/26 上午9:16, Richard Henderson wrote:
Sure, will remove these assigned sentence and use default enumeration value in new patch.On 7/24/25 15:37, Bibo Mao wrote:+enum { + TLBRET_MATCH = 0, + TLBRET_BADADDR = 1, + TLBRET_NOMATCH = 2, + TLBRET_INVALID = 3, + TLBRET_DIRTY = 4, + TLBRET_RI = 5, + TLBRET_XI = 6, + TLBRET_PE = 7, +};For a follow-up patch, name this enumeration and use it instead of 'int'. It would make it self-documenting what a function is computing.
Regards Bibo Mao
r~