101 unsigned int attributes;
117 if ( ( efirc = bs->OpenProtocol ( handle, protocol, interface, agent,
118 controller, attributes ) ) != 0 ) {
185 unsigned int attributes;
245 unsigned int attributes;
306 unsigned int attributes;
EFI_BOOT_SERVICES * BootServices
A pointer to the EFI Boot Services Table.
struct arbelprm_rc_send_wqe rc
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
#define EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER
int efi_open_unsafe_untyped(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
Open protocol for unsafe persistent use.
128 bit buffer containing a unique identifier value.
int efi_open_by_driver_untyped(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
Open protocol for persistent use by a driver.
void efi_close_by_child(EFI_HANDLE handle, EFI_GUID *protocol, EFI_HANDLE child)
Close protocol opened for persistent use by a child controller.
#define EFI_OPEN_PROTOCOL_BY_DRIVER
#define EFI_OPEN_PROTOCOL_EXCLUSIVE
EFI_CLOSE_PROTOCOL CloseProtocol
int efi_open_untyped(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
Open (or test) protocol for ephemeral use.
#define EFI_OPEN_PROTOCOL_TEST_PROTOCOL
void efi_close_unsafe(EFI_HANDLE handle, EFI_GUID *protocol)
Close protocol opened for unsafe persistent use.
assert((readw(&hdr->flags) &(GTF_reading|GTF_writing))==0)
void efi_close_by_driver(EFI_HANDLE handle, EFI_GUID *protocol)
Close protocol opened for persistent use by a driver.
#define EFI_OPEN_PROTOCOL_GET_PROTOCOL
EFI_HANDLE efi_image_handle
Image handle passed to entry point.
uint8_t controller
CD-ROM controller number.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int efi_open_by_child_untyped(EFI_HANDLE handle, EFI_GUID *protocol, EFI_HANDLE child, void **interface)
Open protocol for persistent use by a child controller.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
EFI_SYSTEM_TABLE * efi_systab
EFI_OPEN_PROTOCOL OpenProtocol
uint16_t protocol
Protocol ID.
#define NULL
NULL pointer (VOID *)
if(natsemi->flags &NATSEMI_64BIT) return 1