Function freePool [src]

Prototype

pub fn freePool(self: *BootServices, ptr: [*]align(8) u8) FreePoolError!void

Parameters

self: *BootServicesptr: [*]align(8) u8

Possible Errors

InvalidParameter
Unexpected UnexpectedError

Source

pub fn freePool(self: *BootServices, ptr: [*]align(8) u8) FreePoolError!void { switch (self._freePool(ptr)) { .success => {}, .invalid_parameter => return error.InvalidParameter, else => |status| return uefi.unexpectedStatus(status), } }