def install_loaded_image_protocol(self, image_base, image_size):
    fields = {'gST': self.gST, 'image_base': image_base, 'image_size': image_size}
    descriptor = EfiLoadedImageProtocol.make_descriptor(fields)
    self.dxe_context.install_protocol(descriptor, image_base)
    self.loaded_image_protocol_modules.append(image_base)
def install_loaded_image_protocol(self, image_base, image_size):
    fields = {'gST': self.gST, 'image_base': image_base, 'image_size': image_size}
    descriptor = EfiLoadedImageProtocol.make_descriptor(fields)
    self.dxe_context.install_protocol(descriptor, image_base)
    self.loaded_image_protocol_modules.append(image_base)