Function exitBootServices [src]

Prototype

pub fn exitBootServices( self: *BootServices, image: Handle, map_key: MemoryMapKey, ) ExitBootServicesError!void

Parameters

self: *BootServicesimage: Handlemap_key: MemoryMapKey

Possible Errors

InvalidParameter
Unexpected UnexpectedError

Source

pub fn exitBootServices( self: *BootServices, image: Handle, map_key: MemoryMapKey, ) ExitBootServicesError!void { switch (self._exitBootServices(image, map_key)) { .success => {}, .invalid_parameter => return error.InvalidParameter, else => |status| return uefi.unexpectedStatus(status), } }