pub fn setVirtualAddressMap( self: *RuntimeServices, map: MemoryMapSlice, ) SetVirtualAddressMapError!void
self: *RuntimeServices
map: MemoryMapSlice
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
pub fn setVirtualAddressMap( self: *RuntimeServices, map: MemoryMapSlice, ) SetVirtualAddressMapError!void { switch (self._setVirtualAddressMap( map.info.len * map.info.descriptor_size, map.info.descriptor_size, map.info.descriptor_version, @ptrCast(map.ptr), )) { .success => {}, .unsupported => return error.Unsupported, .no_mapping => return error.NoMapping, .not_found => return error.NotFound, else => |status| return uefi.unexpectedStatus(status), } }