102 unsigned int attributes;
118 if ( ( efirc = bs->OpenProtocol ( handle, protocol, interface, agent,
119 controller, attributes ) ) != 0 ) {
186 unsigned int attributes;
246 unsigned int attributes;
307 unsigned int attributes;
#define NULL
NULL pointer (VOID *)
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define EFI_OPEN_PROTOCOL_BY_DRIVER
#define EFI_OPEN_PROTOCOL_TEST_PROTOCOL
#define EFI_OPEN_PROTOCOL_GET_PROTOCOL
#define EFI_OPEN_PROTOCOL_EXCLUSIVE
#define EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER
struct arbelprm_rc_send_wqe rc
#define assert(condition)
Assert a condition at run-time.
EFI_HANDLE efi_image_handle
Image handle passed to entry point.
void efi_close_by_driver(EFI_HANDLE handle, EFI_GUID *protocol)
Close protocol opened 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.
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.
void efi_close_unsafe(EFI_HANDLE handle, EFI_GUID *protocol)
Close protocol opened for unsafe persistent use.
int efi_open_by_driver_untyped(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
Open protocol for persistent use by a driver.
int efi_open_untyped(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
Open (or test) protocol for ephemeral use.
int efi_open_unsafe_untyped(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
Open protocol for unsafe persistent use.
uint8_t controller
CD-ROM controller number.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
EFI_SYSTEM_TABLE * efi_systab
if(natsemi->flags &NATSEMI_64BIT) return 1
uint16_t protocol
Protocol ID.
EFI_CLOSE_PROTOCOL CloseProtocol
EFI_OPEN_PROTOCOL OpenProtocol