pub fn exitWithData( self: *BootServices, handle: Handle, status: Status, data: []align(2) const u8, ) ExitError!void
message should be a null-terminated u16 string followed by binary data allocated using allocatePool.
message
allocatePool
self: *BootServices
handle: Handle
status: Status
data: []align(2) const u8
879 880 881 882 883 884 885 886 887 888 889 890
pub fn exitWithData( self: *BootServices, handle: Handle, status: Status, data: []align(2) const u8, ) ExitError!void { switch (self._exit(handle, status, data.len, data.ptr)) { .success => {}, .invalid_parameter => return error.InvalidParameter, else => |exit_status| return uefi.unexpectedStatus(exit_status), } }
messageshould be a null-terminated u16 string followed by binary data allocated usingallocatePool.