• Jeffrey Lee's avatar
    Fix GrowFreePool · 1a3c927f
    Jeffrey Lee authored
    Buggy since its introduction in Kernel-5_35-4_79_2_284, GrowFreePool was
    attempting to grow the free pool by shrinking application space, an
    operation which OS_ChangeDynamicArea doesn't support. Change it to grow
    the free pool instead, and fix a couple of other issues that would have
    caused it to work incorrectly (register corruption causing it to request
    a size change of zero, and incorrect assumption that
    OS_ChangeDynamicArea returns the amount unmoved, when really it returns
    the amount moved)
    1a3c927f
ChangeDyn 265 KB