iPXE
|
Modules | |
INT 13 disk types | |
INT 13 disk parameter flags | |
INT 13 extension flags | |
INT 13 extension versions | |
Data Structures | |
struct | int13_disk_address |
An INT 13 disk address packet. More... | |
struct | int13_disk_parameters |
INT 13 disk parameters. More... | |
struct | int13_cdrom_specification |
Bootable CD-ROM specification packet. More... | |
struct | int13_cdrom_boot_catalog_command |
Bootable CD-ROM boot catalog command packet. More... | |
struct | partition_chs |
A C/H/S address within a partition table entry. More... | |
struct | partition_table_entry |
A partition table entry within the MBR. More... | |
struct | master_boot_record |
A Master Boot Record. More... | |
struct | int13_fdd_geometry |
A floppy disk geometry. More... | |
struct | int13_fdd_parameters |
A floppy drive parameter table. More... | |
Macros | |
#define | INT13_FDD_TYPE_360K 0x01 |
360K More... | |
#define | INT13_FDD_TYPE_1M2 0x02 |
1.2M More... | |
#define | INT13_FDD_TYPE_720K 0x03 |
720K More... | |
#define | INT13_FDD_TYPE_1M44 0x04 |
1.44M More... | |
#define | INT13_MAX_CHS_SECTORS 15482880 |
Maximum number of sectors for which CHS geometry is allowed to be valid. More... | |
#define | PART_HEAD(chs) ( (chs).head ) |
#define | PART_SECTOR(chs) ( (chs).cyl_sector & 0x3f ) |
#define | PART_CYLINDER(chs) ( (chs).cyl | ( ( (chs).cyl_sector & 0xc0 ) << 2 ) ) |
#define | INT13_MBR_MAGIC 0xaa55 |
MBR magic signature. More... | |
#define | INT13_FDD_GEOMETRY(cylinders, heads, sectors) |
Define a floppy disk geometry. More... | |
#define | INT13_FDD_CYLINDERS(geometry) ( (geometry)->tracks ) |
Get floppy disk number of cylinders. More... | |
#define | INT13_FDD_HEADS(geometry) ( (geometry)->heads_spt >> 6 ) |
Get floppy disk number of heads. More... | |
#define | INT13_FDD_SECTORS(geometry) ( (geometry)->heads_spt & 0x3f ) |
Get floppy disk number of sectors per track. More... | |
Functions | |
struct int13_disk_address | __attribute__ ((packed)) |
#define INT13_MAX_CHS_SECTORS 15482880 |
#define PART_SECTOR | ( | chs | ) | ( (chs).cyl_sector & 0x3f ) |
#define PART_CYLINDER | ( | chs | ) | ( (chs).cyl | ( ( (chs).cyl_sector & 0xc0 ) << 2 ) ) |
Define a floppy disk geometry.
#define INT13_FDD_CYLINDERS | ( | geometry | ) | ( (geometry)->tracks ) |
#define INT13_FDD_HEADS | ( | geometry | ) | ( (geometry)->heads_spt >> 6 ) |
#define INT13_FDD_SECTORS | ( | geometry | ) | ( (geometry)->heads_spt & 0x3f ) |
struct int13_disk_address __attribute__ | ( | (packed) | ) |
uint8_t int13_disk_address::bufsize |
uint64_t int13_disk_address::buffer_phys |
uint32_t int13_disk_address::long_count |
uint16_t bufsize |
Size of the packet, in bytes.
Size of this structure.
Definition at line 12 of file int13.h.
Referenced by int13_extended_rw(), int13_get_extended_parameters(), linda_post_recv(), qib7322_post_recv(), and skge_rx_setup().
uint8_t count |
uint64_t lba |
Starting block number.
Maximum logical block number.
Logical block address.
Start address.
LBA of disk image to emulate.
This is a logical block number, in big-endian order.
Applicable only if the PMI bit is set.
Definition at line 22 of file int13.h.
Referenced by atadev_command(), atadev_read(), atadev_write(), block_read(), block_write(), efi_block_io_read(), efi_block_io_read_blocks(), efi_block_io_write(), efi_block_io_write_blocks(), efi_block_rw(), http_block_read(), int13_extended_rw(), int13_extended_seek(), int13_extended_verify(), int13_rw_sectors(), int13con_rw(), sandev_parse_iso9660(), sandev_read(), sandev_rw(), sandev_write(), scsidev_command(), scsidev_read(), and scsidev_write().
uint64_t buffer_phys |
Data buffer (EDD 3.0+ only)
Definition at line 24 of file int13.h.
Referenced by int13_extended_rw(), and int13_load_eltorito().
uint16_t int13_disk_parameters::bufsize |
Size of this structure.
Definition at line 112 of file int13.h.
Referenced by int13_get_extended_parameters().
uint16_t int13_disk_parameters::flags |
uint32_t int13_disk_parameters::cylinders |
Number of cylinders.
Definition at line 116 of file int13.h.
Referenced by int13_get_extended_parameters().
uint32_t int13_disk_parameters::heads |
Number of heads.
Definition at line 118 of file int13.h.
Referenced by int13_get_extended_parameters().
uint32_t int13_disk_parameters::sectors_per_track |
Number of sectors per track.
Definition at line 120 of file int13.h.
Referenced by int13_get_extended_parameters().
uint64_t int13_disk_parameters::sectors |
Total number of sectors on drive.
Definition at line 122 of file int13.h.
Referenced by int13_get_extended_parameters().
uint16_t int13_disk_parameters::sector_size |
Bytes per sector.
Definition at line 124 of file int13.h.
Referenced by int13_get_extended_parameters().
struct segoff int13_disk_parameters::dpte |
Device parameter table extension.
Definition at line 126 of file int13.h.
Referenced by int13_get_extended_parameters().
struct edd_device_path_information int13_disk_parameters::dpi |
Device path information.
Definition at line 128 of file int13.h.
Referenced by int13_get_extended_parameters().
uint32_t cylinders |
Number of cylinders.
Definition at line 16 of file int13.h.
Referenced by int13_guess_geometry_fdd().
uint32_t heads |
Number of heads.
Definition at line 18 of file int13.h.
Referenced by int13_guess_geometry_fdd(), and int13_guess_geometry_hdd().
uint64_t sectors |
Total number of sectors on drive.
Definition at line 22 of file int13.h.
Referenced by int13_guess_geometry_fdd(), and int13_guess_geometry_hdd().
struct segoff dpte |
Device parameter table extension.
Definition at line 26 of file int13.h.
Referenced by int13_get_extended_parameters().
struct edd_device_path_information dpi |
Device path information.
Definition at line 28 of file int13.h.
Referenced by int13_device_path_info(), and int13_get_extended_parameters().
uint8_t int13_cdrom_specification::size |
Size of packet in bytes.
Definition at line 210 of file int13.h.
Referenced by int13_cdrom_status_terminate().
uint8_t int13_cdrom_specification::media_type |
uint8_t int13_cdrom_specification::drive |
uint8_t int13_cdrom_specification::controller |
uint32_t int13_cdrom_specification::lba |
uint16_t int13_cdrom_specification::device |
uint16_t int13_cdrom_specification::cache_segment |
uint16_t int13_cdrom_specification::load_segment |
uint16_t int13_cdrom_specification::load_sectors |
uint8_t int13_cdrom_specification::cyl |
uint8_t int13_cdrom_specification::cyl_sector |
uint8_t drive |
Drive number.
Definition at line 16 of file int13.h.
Referenced by call_bootsector(), dummy_san_hook(), dummy_san_unhook(), efi_block_boot(), efi_block_connect(), efi_block_exec(), efi_block_filename(), efi_block_hook(), efi_block_label(), efi_block_match(), efi_block_root(), efi_block_scan(), efi_block_unhook(), int13_boot(), int13_hook(), int13_load_eltorito(), int13_load_mbr(), int13_unhook(), register_sandev(), san_default_drive(), sandev_find(), sandev_next(), and uriboot().
uint8_t controller |
CD-ROM controller number.
Definition at line 18 of file int13.h.
Referenced by efi_veto_close_protocol(), and vesafb_mode_list().
uint16_t cache_segment |
uint8_t cyl_sector |
uint8_t head |
Head number.
Definition at line 34 of file int13.h.
Referenced by ath_descdma_cleanup(), ath_descdma_setup(), ath_tx_txqaddbuf(), ccmp_decrypt(), ccmp_encrypt(), ehci_endpoint_update(), expand_settings(), extern_list_add(), extern_list_add_tail(), extern_list_contains(), extern_list_is_last(), inline_list_add(), inline_list_add_tail(), inline_list_contains(), inline_list_is_last(), int13_rw_sectors(), peerblk_done(), peerblk_expired(), phantom_dmesg(), tkip_decrypt(), tkip_encrypt(), tx_dist(), vring_add_buf(), and vring_detach().
uint8_t int13_cdrom_boot_catalog_command::size |
uint8_t int13_cdrom_boot_catalog_command::count |
uint32_t int13_cdrom_boot_catalog_command::buffer |
uint16_t int13_cdrom_boot_catalog_command::start |
uint32_t start |
uint8_t partition_chs::cyl_sector |
struct partition_chs partition_table_entry::chs_start |
C/H/S start address.
Definition at line 266 of file int13.h.
Referenced by int13_guess_geometry_hdd().
uint8_t partition_table_entry::type |
System indicator (partition type)
Definition at line 268 of file int13.h.
Referenced by int13_guess_geometry_hdd().
struct partition_chs partition_table_entry::chs_end |
C/H/S end address.
Definition at line 270 of file int13.h.
Referenced by int13_guess_geometry_hdd().
uint32_t partition_table_entry::start |
Linear start address.
Definition at line 272 of file int13.h.
Referenced by int13_guess_geometry_hdd(), and int13con_find().
uint32_t partition_table_entry::length |
struct partition_chs chs_start |
struct partition_chs chs_end |
uint32_t master_boot_record::signature |
struct partition_table_entry master_boot_record::partitions[4] |
Partition table.
Definition at line 286 of file int13.h.
Referenced by int13_guess_geometry_hdd(), and int13con_find().
uint16_t master_boot_record::magic |
struct partition_table_entry partitions[4] |
uint8_t int13_fdd_geometry::heads_spt |
struct int13_fdd_geometry __attribute__ |
static unsigned int size |
Entry size (in 32-bit words)
Size of packet in bytes.
Definition at line 16 of file ena.h.
Referenced by alloc_memblock(), alloc_sandev(), amd8111e_transmit(), ar9300_uncompress_block(), arbel_map_vpm(), ath5k_copy_channels(), ath5k_hw_ini_mode_registers(), ath5k_hw_ini_registers(), ath5k_hw_rfgain_init(), ath5k_hw_setup_rx_desc(), ath9k_hw_def_check_eeprom(), ath9k_hw_setup_statusring(), ath9k_hw_setuprxdesc(), ath9k_hw_usb_gen_fill_eeprom(), atl1e_setup_ring_resources(), atl_hw_read_mem(), bigint_add_sample(), bigint_bit_is_set_sample(), bigint_copy_sample(), bigint_done_sample(), bigint_init_sample(), bigint_is_geq_sample(), bigint_is_zero_sample(), bigint_max_set_bit_sample(), bigint_mod_exp_raw(), bigint_mod_exp_sample(), bigint_mod_invert_raw(), bigint_mod_invert_sample(), bigint_montgomery_raw(), bigint_montgomery_relaxed_raw(), bigint_montgomery_sample(), bigint_reduce_raw(), bigint_reduce_sample(), bigint_reduce_supremum_raw(), bigint_shl_sample(), bigint_shr_sample(), bigint_subtract_sample(), bigint_swap_raw(), bigint_swap_sample(), block_translate(), bnx2_transmit(), calloc(), copy_user_to_rm_stack(), denumerate_int_setting(), dhe_key(), dmfe_transmit(), efi_allocate_pool_wrapper(), efi_block_label(), efi_ifr_numeric_op(), efi_local_check_volume_name(), efi_local_len(), efi_local_step(), efifb_select_mode(), efivars_fetch(), efivars_find(), ena_set_caps(), eth_transmit(), forcedeth_transmit(), free_memblock(), free_phys(), hermon_map_vpm(), ib_srp_parse_byte_string(), igbvf_read_mbx_vf(), igbvf_read_posted_mbx(), igbvf_write_mbx_vf(), igbvf_write_posted_mbx(), malloc(), malloc_phys(), malloc_phys_offset(), meme820(), mlx_memory_alloc(), mlx_memory_alloc_dma(), mlx_memory_alloc_dma_priv(), mlx_memory_alloc_priv(), mlx_memory_cmp(), mlx_memory_cmp_priv(), mlx_memory_free_dma(), mlx_memory_free_dma_priv(), mlx_memory_set(), mlx_memory_set_priv(), mlx_memory_zalloc(), mlx_memory_zalloc_priv(), multiboot_build_memmap(), ncm_open(), net80211_accum_frags(), net80211_cts_duration(), net80211_rx_frag(), nodnic_port_allocate_dbr_dma(), oncrpc_compute_size(), pci_bar_size(), pxe_checksum(), qib7322_create_send_bufs(), relocate(), remove_user_from_rm_stack(), rsa_alloc(), skge_rx_reuse(), sky2_rx_start(), snprintf(), tg3_do_test_dma(), umalloc(), virtio_pci_map_capability(), vpm_find_vqs(), vsnprintf(), vxge_hw_ring_rxd_1b_set(), xengrant_init(), and zalloc().
uint32_t count = count |
Number of entries.
Number of ranges.
Number of sectors of boot catalog to read.
Number of sections (must be 1)
Actual number of entries.
Definition at line 22 of file ena.h.
Referenced by acpi_find_via_rsdt(), alloc_sandev(), ansiesc_call_handler(), ansiesc_process(), ar9300_read_eeprom(), ar9300_read_otp(), atadev_command(), atadev_read(), atadev_write(), ath5k_copy_channels(), ath9k_hw_check_alive(), ath_hw_pll_rx_hang_check(), axge_in_complete(), bios_handle_sgr(), block_read(), block_write(), cert_exec(), cms_verify(), create_pinger(), dbg_efi_openers(), dbg_efi_protocols(), deflate_alphabet(), deflate_consume(), dummy_san_hook(), eap_tx_nak(), ecam_find(), efab_init_mac(), efi_block_boot(), efi_block_hook(), efi_block_rw(), efi_block_scan(), efi_get_next_monotonic_count_wrapper(), efi_handle_name(), efi_handle_sgr(), efi_path_fetch_dns(), efi_usb_path(), efi_veto(), efi_veto_close(), efi_veto_close_handle(), efi_veto_close_protocol(), efi_veto_disconnect(), efi_vlan_find(), efipci_discover_one(), efipci_dma_map(), ehci_endpoint_count(), ehci_endpoint_stream(), ehci_enqueue(), ena_set_caps(), falcon_gmii_wait(), falcon_init_sram(), falcon_init_xmac(), falcon_reset_xaui(), falcon_reset_xmac(), falcon_spi_wait(), falcon_tenxpress_check_c11(), fbcon_handle_sgr(), fetch_ipv4_array_setting(), fetch_ipv6_array_setting(), find_smbios_structure(), gve_poll_tx(), gve_transmit(), hex_decode(), hfa384x_wait_for_event(), http_block_read(), ibft_set_ipaddr_setting(), ice_admin_schedule_is_parent(), int13_extended_rw(), int13_extended_seek(), int13_extended_verify(), int13_hook(), int13_rw_sectors(), intel_init_ring(), intelxlvf_init_ring(), ioremap_pages(), memmap_settings_fetch(), mlx_pci_config(), mlx_pci_mem_read(), mlx_pci_mem_write(), mlx_pci_read(), mlx_pci_read_priv(), mlx_pci_write(), mlx_pci_write_priv(), ncm_in_prefill(), netfront_pull(), netfront_transmit(), nfs_read(), nii_map(), parse_eeprom(), pci_find_next(), pci_msix_map(), peerdist_discovery_reply(), peermux_block_stat(), ping(), qib7322_create_send_bufs(), rdc_init_ring(), realtek_init_ring(), rtc_entropy_check(), rtl818x_handle_rx(), rtl818x_handle_tx(), sanboot_core_exec(), sandev_parse_iso9660(), sandev_read(), sandev_rw(), sandev_write(), scsidev_command(), scsidev_read(), scsidev_write(), select_setting_row(), sfe4001_init(), shuffle(), sis190_process_rx(), sky2_receive(), split_command(), system(), txnic_bgx_detect(), txnic_lmac_probe_all(), ucode_parse_amd(), uhci_endpoint_message(), uhci_endpoint_stream(), uhci_enqueue(), uri_decode(), usb_used(), usbio_config(), usbio_interfaces(), xcm_list(), xengrant_alloc(), xengrant_free(), xhci_endpoint_count(), xhci_endpoint_stream(), xhci_enqueue_multi(), xhci_event_alloc(), xhci_event_free(), xhci_event_poll(), xhci_ring_alloc(), xhci_ring_free(), xhci_ring_reset(), and xhci_supported_protocol().
SEGOFF16_t buffer |
Buffer index (or NETVSC_RNDIS_NO_BUFFER)
UDP payload buffer address.
Buffer for boot catalog.
Definition at line 16 of file netvsc.h.
Referenced by aes_decrypt(), aes_encrypt(), ar9300_eeprom_read_byte(), ar9300_eeprom_read_word(), ar9300_read_eeprom(), ar9300_read_otp(), atacmd_data_buffer(), atadev_command(), atadev_read(), atadev_write(), atl_hw_read_mem(), block_read(), block_translate(), block_write(), com32_load_image(), disable_nodnic_inteface(), efi_allocate_pool_wrapper(), efi_free_pool_wrapper(), efi_locate_handle_buffer_wrapper(), efi_locate_handle_wrapper(), efi_mp_call(), efi_usb_get_string_descriptor(), efi_vlan_find(), efx_hunt_alloc_special_buffer(), elf_load_segment(), falcon_alloc_special_buffer(), flexboot_nodnic_is_supported(), get_eeprom_chksum(), get_eeprom_data(), http_block_read(), int13_extended_rw(), int13_rw_sectors(), mlx_icmd_get_semaphore(), mlx_icmd_get_status(), mlx_icmd_go(), mlx_icmd_set_opcode(), mlx_pci_config(), mlx_pci_config_byte(), mlx_pci_config_dword(), mlx_pci_config_word(), mlx_pci_gw_read(), mlx_pci_gw_write(), mlx_pci_mem_read(), mlx_pci_mem_read_priv(), mlx_pci_mem_write(), mlx_pci_mem_write_priv(), mlx_pci_read(), mlx_pci_read_priv(), mlx_pci_write(), mlx_pci_write_priv(), multiboot_load_raw(), netvsc_buffer_copy(), netvsc_create_buffer(), netvsc_destroy_buffer(), netvsc_establish_buffer(), netvsc_revoke_buffer(), nodnic_cmd_read(), nodnic_cmd_write(), nodnic_device_get_cap(), nodnic_device_get_fw_version(), nodnic_device_get_nodnic_data(), nodnic_device_start_nodnic(), nodnic_port_get_qpn(), nodnic_port_query(), nodnic_port_set(), nodnic_port_set_promisc(), nodnic_port_set_promisc_multicast(), nodnic_port_update_ring_doorbell(), phantom_issue_buf_cmd(), pxe_exec(), pxenv_file_cmdline(), pxenv_file_read(), pxenv_get_cached_info(), pxenv_udp_read(), pxenv_udp_write(), read_user(), sandev_read(), sandev_rw(), sandev_write(), scsidev_command(), scsidev_read(), scsidev_write(), trivial_memchr_user(), trivial_memset_user(), trivial_strlen_user(), and wait_for_device_initialization().
uint32_t start |
Starting offset.
Linear start address.
Definition at line 12 of file netvsc.h.
Referenced by acpi_udelay(), arbel_map_vpm(), deflate_copy(), deflate_decode(), dns_encode(), ecam_find(), efi_usb_async_interrupt_transfer(), efipci_discover_one(), efipci_ioremap(), expand_settings(), fbcon_init(), find_smbios3_entry(), find_smbios_entry(), getchar_timeout(), hermon_alloc_mtt(), hermon_map_vpm(), hermon_set_port_type(), hide_region(), hide_umalloc(), hv_udelay(), inet6_ntoa(), int13_cdrom_read_boot_catalog(), int13con_find(), ioremap_pages(), ipair_key(), ipair_tag(), largest_memblock(), memmap_settings_fetch(), mpopulate(), multiboot_add_modules(), net80211_add_channels(), nfs_uri_next_path_component(), nv_mgmt_get_version(), pci_bar_size(), pci_msix_ioremap(), peerblk_deliver(), peerblk_retrieval_rx(), peerdist_discovery_reply_values(), peerdist_info_block(), prep_segment(), pxe_menu_prompt_and_select(), qib7322_create_send_bufs(), rdc_create_ring(), rdtsc_udelay(), relocate(), rsa_decrypt(), rsdp_find_rsdt_range(), sec80211_detect_ie(), sis190_rx_fill(), skge_ramset(), sky2_ramset(), sleep_interruptible(), smbios_checksum(), strrchr(), tcp_in_window(), tcp_shutdown(), time_exec(), ucode_describe(), ucode_parse(), ucode_parse_amd(), ucode_parse_intel(), ucode_verify(), and virtio_pci_map_capability().