Renamed functions to better match those in the EFI specification.