Posted (Aug. 19, 2010, 2:58 a.m.)
-
src/arch/arm/table_walker.hh (Diff revision 1) -
As you know, we generally don't like magic bits randomly placed. Is there no more centralized location that you can spell out what all of the bits are? (I can accept NO as an answer.
Posted (Aug. 19, 2010, 3:12 a.m.)
-
src/arch/arm/table_walker.hh (Diff revision 1) -
The bit is described by the function name that grabs it. I don't see much benefit to having an enum of bit descriptions and then having bool xn() {const return bits(data, xnBit); } This becomes more difficult for the functions that grab bits from three different places. Honenstly i don't think it adds anything to clarity and we're 100% sure these are right now and they won't need to change.
