Function freePages [src]
Prototype
pub fn freePages(self: *BootServices, pages: []align(4096) Page) FreePagesError!void Parameters
self: *BootServicespages: []align(4096) Page Possible Errors
Source
pub fn freePages(self: *BootServices, pages: []align(4096) Page) FreePagesError!void {
switch (self._freePages(pages.ptr, pages.len)) {
.success => {},
.not_found => return error.NotFound,
.invalid_parameter => return error.InvalidParameter,
else => |status| return uefi.unexpectedStatus(status),
}
}