58 DBGC ( sandev->
drive,
"SAN %#02x could not register: %s\n",
static int dummy_san_boot(unsigned int drive __unused, struct san_boot_config *config __unused)
Boot from dummy SAN device.
struct arbelprm_rc_send_wqe rc
int san_describe(void)
Describe SAN devices for SAN-booted operating system.
int san_hook(unsigned int drive, struct uri **uris, unsigned int count, unsigned int flags)
Hook SAN device.
#define le32_to_cpu(value)
void unregister_sandev(struct san_device *sandev)
Unregister SAN device.
int san_boot(unsigned int drive, struct san_boot_config *config)
Attempt to boot from a SAN device.
static void sandev_put(struct san_device *sandev)
Drop reference to SAN device.
uint8_t drive
Drive number.
#define ENOMEM
Not enough space.
#define __unused
Declare a variable or data structure as unused.
static EFI_ACPI_TABLE_PROTOCOL * acpi
ACPI table protocol protocol.
unsigned int drive
Drive number.
SAN boot configuration parameters.
static int dummy_san_hook(unsigned int drive, struct uri **uris, unsigned int count, unsigned int flags)
Hook dummy SAN device.
int register_sandev(struct san_device *sandev, unsigned int drive, unsigned int flags)
Register SAN device.
uint16_t count
Number of entries.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
PROVIDE_SANBOOT(dummy, san_hook, dummy_san_hook)
int acpi_install(int(*install)(struct acpi_header *acpi))
Install ACPI tables.
char * strerror(int errno)
Retrieve string representation of error number.
#define EOPNOTSUPP
Operation not supported on socket.
void san_unhook(unsigned int drive)
Unhook SAN device.
struct san_device * sandev_find(unsigned int drive)
Find SAN device by drive number.
static const char * acpi_name(uint32_t signature)
Transcribe ACPI table signature (for debugging)
static int dummy_san_describe(void)
Describe dummy SAN device.
A Uniform Resource Identifier.
static int dummy_install(struct acpi_header *acpi)
Install ACPI table.
static void dummy_san_unhook(unsigned int drive)
Unhook dummy SAN device.
struct san_device * alloc_sandev(struct uri **uris, unsigned int count, size_t priv_size)
Allocate SAN device.