1 comment:
File common/hw-gfx-gma-panel.adb:
Patch Set #1, Line 81: function BXT_PP_CONTROL_PWR_CYC_DELAY (US : Natural) return Word32 is
Wouldn't this function look better outside of the register definitions?
To me, Ada will probably never look better. I wanted it here because it's
part of the register description.
However, I realize now that we could also write this as expression function:
function BXT_PP_CONTROL_PWR_CYC_DELAY (US : Natural) return Word32 is
(Shift_Left (Div_Round_Up32 (US, 100_000) + 1));
To view, visit change 38264. To unsubscribe, or for help writing mail filters, visit settings.