DoxigAlpha

unexpectedStatus

Function parameters

Parameters

#

A protocol is an interface identified by a GUID.

Types

#
protocol
A protocol is an interface identified by a GUID.
Status
Status codes returned by EFI interfaces
Guid
GUIDs are align(8) unless otherwise specified.
Time
This structure represents time information.
TimeCapabilities
Capabilities of the clock device

Functions in this namespace

Functions

#

Error sets in this namespace

Error Sets

#

The memory type to allocate when using the pool.

Values

#
efi_pool_memory_type
The memory type to allocate when using the pool.
pool_allocator
= @import("uefi/pool_allocator.zig").pool_allocator
raw_pool_allocator
= @import("uefi/pool_allocator.zig").raw_pool_allocator
handle
The EFI image's handle that is passed to its entry point.
system_table
A pointer to the EFI System Table that is passed to the EFI image's entry point.
cc
The calling convention used for all external functions part of the UEFI API.

Source

Implementation

#
pub fn unexpectedStatus(status: Status) UnexpectedError {
    // TODO: debug printing the encountered error? maybe handle warnings?
    _ = status;
    return error.Unexpected;
}