|
iPXE
|
Dummy SAN device. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static int | dummy_san_hook (unsigned int drive, struct uri **uris, unsigned int count, unsigned int flags) |
| Hook dummy SAN device. | |
| static void | dummy_san_unhook (unsigned int drive) |
| Unhook dummy SAN device. | |
| static int | dummy_san_boot (unsigned int drive __unused, struct san_boot_config *config __unused) |
| Boot from dummy SAN device. | |
| static int | dummy_install (struct acpi_header *acpi) |
| Install ACPI table. | |
| static int | dummy_san_describe (void) |
| Describe dummy SAN device. | |
| PROVIDE_SANBOOT (dummy, san_hook, dummy_san_hook) | |
| PROVIDE_SANBOOT (dummy, san_unhook, dummy_san_unhook) | |
| PROVIDE_SANBOOT (dummy, san_boot, dummy_san_boot) | |
| PROVIDE_SANBOOT (dummy, san_describe, dummy_san_describe) | |
Dummy SAN device.
Definition in file dummy_sanboot.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Hook dummy SAN device.
| drive | Drive number |
| uris | List of URIs |
| count | Number of URIs |
| flags | Flags |
| drive | Drive number, or negative error |
Definition at line 45 of file dummy_sanboot.c.
References alloc_sandev(), count, DBGC, drive, san_device::drive, ENOMEM, flags, rc, register_sandev(), sandev_put(), strerror(), and unregister_sandev().
Referenced by PROVIDE_SANBOOT().
|
static |
Unhook dummy SAN device.
| drive | Drive number |
Definition at line 78 of file dummy_sanboot.c.
References DBGC, drive, sandev_find(), sandev_put(), and unregister_sandev().
Referenced by PROVIDE_SANBOOT().
|
static |
Boot from dummy SAN device.
| drive | Drive number |
| config | Boot configuration parameters |
| rc | Return status code |
Definition at line 102 of file dummy_sanboot.c.
References __unused, drive, and EOPNOTSUPP.
Referenced by PROVIDE_SANBOOT().
|
static |
Install ACPI table.
| acpi | ACPI description header |
| rc | Return status code |
Definition at line 114 of file dummy_sanboot.c.
References acpi, acpi_name(), DBGC, DBGC_HDA, and le32_to_cpu.
Referenced by dummy_san_describe().
|
static |
Describe dummy SAN device.
| rc | Return status code |
Definition at line 126 of file dummy_sanboot.c.
References acpi_install(), and dummy_install().
Referenced by PROVIDE_SANBOOT().
| PROVIDE_SANBOOT | ( | dummy | , |
| san_hook | , | ||
| dummy_san_hook | ) |
References dummy_san_hook(), and san_hook().
| PROVIDE_SANBOOT | ( | dummy | , |
| san_unhook | , | ||
| dummy_san_unhook | ) |
References dummy_san_unhook(), and san_unhook().
| PROVIDE_SANBOOT | ( | dummy | , |
| san_boot | , | ||
| dummy_san_boot | ) |
References dummy_san_boot(), and san_boot().
| PROVIDE_SANBOOT | ( | dummy | , |
| san_describe | , | ||
| dummy_san_describe | ) |
References dummy_san_describe(), and san_describe().