|
iPXE
|
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | bzimage_header |
| A bzImage header. More... | |
| struct | bzimage_cmdline |
| bzImage command-line structure used by older kernels More... | |
Macros | |
| #define | BZI_HDR_OFFSET 0x1f1 |
| Offset of bzImage header within kernel image. | |
| #define | BZI_BOOT_FLAG 0xaa55 |
| bzImage boot flag value | |
| #define | BZI_SIGNATURE 0x53726448 |
| bzImage magic signature value | |
| #define | BZI_LOADER_TYPE_ETHERBOOT 0x40 |
| bzImage boot loader identifier for Etherboot | |
| #define | BZI_LOADER_TYPE_IPXE ( BZI_LOADER_TYPE_ETHERBOOT | 0x06 ) |
| bzImage boot loader identifier for iPXE | |
| #define | BZI_LOAD_HIGH 0x01 |
| bzImage "load high" flag | |
| #define | BZI_LOAD_HIGH_ADDR 0x100000 |
| Load address for high-loaded kernels. | |
| #define | BZI_LOAD_LOW_ADDR 0x10000 |
| Load address for low-loaded kernels. | |
| #define | BZI_CAN_USE_HEAP 0x80 |
| bzImage "kernel can use heap" flag | |
| #define | BZI_VID_MODE_NORMAL 0xffff |
| bzImage special video mode "normal" | |
| #define | BZI_VID_MODE_EXT 0xfffe |
| bzImage special video mode "ext" | |
| #define | BZI_VID_MODE_ASK 0xfffd |
| bzImage special video mode "ask" | |
| #define | BZI_INITRD_MAX 0x37ffffff |
| bzImage maximum initrd address for versions < 2.03 | |
| #define | BZI_CMDLINE_OFFSET 0x20 |
| Offset of bzImage command-line structure within kernel image. | |
| #define | BZI_CMDLINE_MAGIC 0xa33f |
| bzImage command line present magic marker value | |
| #define | BZI_ASSUMED_RM_SIZE 0x8000 |
| Assumed size of real-mode portion (including .bss) | |
| #define | BZI_STACK_SIZE 0x1000 |
| Amount of stack space to provide. | |
| #define | BZI_CMDLINE_SIZE 0x7ff |
| Maximum size of command line. | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| struct bzimage_header | __attribute__ ((packed)) |
Variables | |
| uint8_t | setup_sects |
| The size of the setup in sectors. | |
| uint16_t | root_flags |
| If set, the root is mounted readonly. | |
| uint16_t | syssize |
| DO NOT USE - for bootsect.S use only. | |
| uint16_t | swap_dev |
| DO NOT USE - obsolete. | |
| uint16_t | ram_size |
| DO NOT USE - for bootsect.S use only. | |
| uint16_t | vid_mode |
| Video mode control. | |
| uint16_t | root_dev |
| Default root device number. | |
| uint16_t | boot_flag |
| 0xAA55 magic number | |
| uint16_t | jump |
| Jump instruction. | |
| uint32_t | header |
| Magic signature "HdrS". | |
| uint16_t | version |
| Boot protocol version supported. | |
| uint32_t | realmode_swtch |
| Boot loader hook (see below) | |
| uint16_t | start_sys |
| The load-low segment (0x1000) (obsolete) | |
| uint16_t | kernel_version |
| Pointer to kernel version string. | |
| uint8_t | type_of_loader |
| Boot loader identifier. | |
| uint8_t | loadflags |
| Boot protocol option flags. | |
| uint16_t | setup_move_size |
| Move to high memory size (used with hooks) | |
| uint32_t | code32_start |
| Boot loader hook (see below) | |
| uint32_t | ramdisk_image |
| initrd load address (set by boot loader) | |
| uint32_t | ramdisk_size |
| initrd size (set by boot loader) | |
| uint32_t | bootsect_kludge |
| DO NOT USE - for bootsect.S use only. | |
| uint16_t | heap_end_ptr |
| Free memory after setup end. | |
| uint16_t | pad1 |
| Unused. | |
| uint32_t | cmd_line_ptr |
| 32-bit pointer to the kernel command line | |
| uint32_t | initrd_addr_max |
| Highest legal initrd address. | |
| uint32_t | kernel_alignment |
| Physical addr alignment required for kernel. | |
| uint8_t | relocatable_kernel |
| Whether kernel is relocatable or not. | |
| uint8_t | pad2 [3] |
| Unused. | |
| uint32_t | cmdline_size |
| Maximum size of the kernel command line. | |
| uint16_t | magic |
| Magic signature. | |
| uint16_t | offset |
| Offset to command line. | |
| #define BZI_HDR_OFFSET 0x1f1 |
Offset of bzImage header within kernel image.
Definition at line 78 of file bzimage.h.
Referenced by bzimage_parse_header(), and bzimage_update_header().
| #define BZI_BOOT_FLAG 0xaa55 |
bzImage boot flag value
Definition at line 81 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_SIGNATURE 0x53726448 |
bzImage magic signature value
Definition at line 84 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_LOADER_TYPE_ETHERBOOT 0x40 |
| #define BZI_LOADER_TYPE_IPXE ( BZI_LOADER_TYPE_ETHERBOOT | 0x06 ) |
bzImage boot loader identifier for iPXE
We advertise ourselves as Etherboot version 6.
Definition at line 93 of file bzimage.h.
Referenced by bzimage_update_header(), and int22().
| #define BZI_LOAD_HIGH 0x01 |
bzImage "load high" flag
Definition at line 96 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_LOAD_HIGH_ADDR 0x100000 |
Load address for high-loaded kernels.
Definition at line 99 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_LOAD_LOW_ADDR 0x10000 |
Load address for low-loaded kernels.
Definition at line 102 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_CAN_USE_HEAP 0x80 |
bzImage "kernel can use heap" flag
Definition at line 105 of file bzimage.h.
Referenced by bzimage_update_header().
| #define BZI_VID_MODE_NORMAL 0xffff |
bzImage special video mode "normal"
Definition at line 108 of file bzimage.h.
Referenced by bzimage_parse_cmdline().
| #define BZI_VID_MODE_EXT 0xfffe |
bzImage special video mode "ext"
Definition at line 111 of file bzimage.h.
Referenced by bzimage_parse_cmdline().
| #define BZI_VID_MODE_ASK 0xfffd |
bzImage special video mode "ask"
Definition at line 114 of file bzimage.h.
Referenced by bzimage_parse_cmdline().
| #define BZI_INITRD_MAX 0x37ffffff |
bzImage maximum initrd address for versions < 2.03
Definition at line 117 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_CMDLINE_OFFSET 0x20 |
Offset of bzImage command-line structure within kernel image.
Definition at line 128 of file bzimage.h.
Referenced by bzimage_update_header().
| #define BZI_CMDLINE_MAGIC 0xa33f |
bzImage command line present magic marker value
Definition at line 131 of file bzimage.h.
Referenced by bzimage_update_header().
| #define BZI_ASSUMED_RM_SIZE 0x8000 |
Assumed size of real-mode portion (including .bss)
Definition at line 134 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_STACK_SIZE 0x1000 |
Amount of stack space to provide.
Definition at line 137 of file bzimage.h.
Referenced by bzimage_parse_header().
| #define BZI_CMDLINE_SIZE 0x7ff |
Maximum size of command line.
Definition at line 140 of file bzimage.h.
Referenced by bzimage_parse_header().
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| uint8_t setup_sects |
| uint16_t syssize |
DO NOT USE - for bootsect.S use only.
Definition at line 8 of file bzimage.h.
Referenced by bzimage_parse_header().
| uint16_t start_sys |
| uint16_t setup_move_size |
| uint32_t ramdisk_image |
| uint32_t bootsect_kludge |
| uint32_t cmd_line_ptr |
| uint32_t kernel_alignment |
| uint8_t relocatable_kernel |
| uint32_t cmdline_size |
| uint32_t magic |
Magic signature.
Magic.
Definition at line 1 of file bzimage.h.
Referenced by __volatile__(), ath9k_hw_4k_check_eeprom(), ath9k_hw_ar9287_check_eeprom(), ath9k_hw_def_check_eeprom(), bofm_locate_section(), com32_identify(), efi_pe_image_probe(), int13_load_mbr(), peerdist_info_segment_hash(), pxe_probe_no_mz(), script_probe(), vmware_present(), zlib_magic_is_valid(), and zlib_probe().
| chunk offset |
Offset to command line.
Definition at line 3 of file bzimage.h.
Referenced by __vxge_hw_desc_offset_up(), __vxge_hw_device_initialize(), __vxge_hw_vpath_pci_read(), acpi_currticks(), acpi_extract(), acpi_extract_sx(), acpi_settings_fetch(), acpi_zsdt(), acpimac_extract(), acpimac_extract_auxmac(), acpimac_extract_rtxmac(), aes_column(), aes_output(), aes_setkey(), alloc_iob_fail_okx(), alloc_iob_okx(), alloc_iob_raw(), apply_dns_settings(), ar9003_hw_tx_iq_cal_post_proc(), ar9285_hw_pa_cal(), ar9300_read_otp(), ar9300_uncompress_block(), arbel_cmd_unmap_icm(), arbel_ring_doorbell(), asn1_okx(), ath5k_cal_data_offset_2413(), ath5k_eeprom_init_11a_pcal_freq(), ath5k_eeprom_init_11bg_2413(), ath5k_eeprom_init_modes(), ath5k_eeprom_read_ants(), ath5k_eeprom_read_ctl_info(), ath5k_eeprom_read_freq_list(), ath5k_eeprom_read_mac(), ath5k_eeprom_read_modes(), ath5k_eeprom_read_pcal_info_2413(), ath5k_eeprom_read_pcal_info_5111(), ath5k_eeprom_read_pcal_info_5112(), ath5k_eeprom_read_target_rate_pwr_info(), ath5k_eeprom_read_turbo_modes(), ath5k_hw_eeprom_read(), ath5k_hw_rfb_op(), ath9k_olc_get_pdadcs(), atl1e_setup_ring_resources(), atl2_hw_read_shared_in_(), atl2_hw_write_shared_in_(), axge_in_complete(), axge_read_byte(), axge_read_dword(), axge_read_register(), axge_read_word(), axge_write_byte(), axge_write_dword(), axge_write_register(), axge_write_word(), base64_decode(), bios_currticks(), bnx2_ctx_wr(), bnx2_ctx_wr(), bnx2_init_context(), bnx2_reg_rd_ind(), bnx2_reg_rd_ind(), bnx2_reg_wr_ind(), bnx2_reg_wr_ind(), bofm(), bofm_locate_section(), call_bootsector(), cert_exec(), cgem_probe(), check_bios_interrupts(), clear_b0_fpga_memories(), day_of_week(), dbg_hex_dump_da(), dbg_hex_dump_da_row(), deflate_alphabet(), der_asn1(), der_image_asn1(), des_rounds(), dhcp_option(), dhcpopt_fetch(), dhcpopt_store(), dhcpopt_update_used_len(), dm96xx_read_register(), dm96xx_read_registers(), dm96xx_write_register(), dm96xx_write_registers(), dns_decode(), dns_label(), dns_list_okx(), dns_question(), dns_skip(), dns_skip_search(), dns_xfer_deliver(), dt_find_driver(), dt_ioremap(), dt_probe(), dt_probe_children(), dt_probe_node(), dwgpio_group_probe(), dwgpio_probe(), dwmac_probe(), dwuart_probe(), dwusb_probe(), efi_cacert(), efi_cacert_all(), efi_disk_io_read_disk(), efi_disk_io_write_disk(), efi_file_read_chunk(), efi_null_snp_nvdata(), efi_snp_nvdata(), efipci_ioremap(), efisig_asn1(), efisig_find(), efisig_image_asn1(), efisig_image_probe(), ehci_enqueue(), ehci_extended_capability(), ena_clear_caps(), ena_set_base(), ena_set_caps(), exanic_transmit(), fbcon_draw(), fbcon_picture_init(), fcpcmd_recv_rddata(), fdt_alias(), fdt_cells(), fdt_child(), fdt_depth(), fdt_describe(), fdt_end(), fdt_ensure_child(), fdt_enter(), fdt_insert(), fdt_insert_nop(), fdt_insert_string(), fdt_mac(), fdt_nop(), fdt_parent(), fdt_parent_reg_cells(), fdt_path(), fdt_phandle(), fdt_property(), fdt_reg(), fdt_reg_address(), fdt_reg_cells(), fdt_reg_count(), fdt_reg_size(), fdt_set(), fdt_string(), fdt_strings(), fdt_test_exec(), fdt_u32(), fdt_u64(), fdtmem_update_node(), fdtmem_update_tree(), FILE_LICENCE(), FILE_LICENCE(), FILE_SECBOOT(), find_dhcp_option_with_encap(), find_smbios3_entry(), find_smbios_entry(), find_strings_terminator(), fragment_reassemble(), gcm_tag(), get_e(), get_e(), goto_find_label(), gve_describe(), gve_transmit(), heap_alloc_block(), heap_realloc(), hermon_cmd_unmap_icm(), hermon_mod_stat_cfg(), hfa384x_copy_from_bap(), hfa384x_copy_to_bap(), hfa384x_prepare_bap(), history_entry(), history_move(), hunt_mcdi_copyout(), i2c_bit_read(), i2c_bit_write(), i2c_select(), ibft_install(), ibft_string(), icplus_set_base(), if(), image_asn1(), image_x509(), initrd_load(), inject_corruption_nonzero(), ioremap_pages(), is_pnp_bios(), iscsi_rx_data_in(), iscsi_start_data_out(), iscsi_tx_data_out(), linda_post_send(), linda_readq(), linda_verify_uc_ram(), linda_writel(), linda_writeq(), linux_lseek(), linux_mmap(), load_cpu_fw(), malloc_phys_offset(), md4_update(), md5_update(), mlx_pci_config(), mlx_pci_config_byte(), mlx_pci_config_dword(), mlx_pci_config_word(), mlx_pci_gw_check_capability_id(), 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_exec(), multiboot_find_header(), multiboot_load_raw(), multiboot_probe(), natsemi_create_ring(), natsemi_hwaddr_insane(), nbi_load_segment(), nbi_prepare_segment(), nbi_process_segments(), ndp_fetch(), ndp_register_settings(), ndp_rx_options(), netdev_priv_offset(), netfront_transmit(), netvsc_buffer_copy(), nfs_read(), nodnic_port_thin_init(), ntlm_challenge(), ntlm_data_okx(), pci_backup(), pci_backup_excluded(), pci_msix_ioremap(), pci_restore(), pciea_bar_value(), pciea_offset(), peerdist_info_get(), peerdist_info_v1_block_offset(), peerdist_info_v1_blocks(), pem_asn1(), pem_image_asn1(), pem_image_probe(), pem_marker(), pem_next(), phantom_clp_cmd(), phantom_clp_fetch(), phantom_clp_store(), phantom_crb_access_128m(), phantom_crb_access_2m(), phantom_crb_access_32m(), phantom_dmesg(), phantom_get_macaddr(), phantom_read_test_mem(), phantom_read_test_mem_block(), phantom_readl(), phantom_writel(), phy_read(), phy_write(), prep_pci_cfg_cap(), print_user_string(), process_script(), PROVIDE_UACCESS_INLINE(), PROVIDE_UACCESS_INLINE(), pxenv_file_api_check(), qib7322_post_send(), qib7322_readq(), qib7322_writel(), qib7322_writeq(), read_srom_word(), real_to_virt(), reg_delay(), resize_dhcp_option(), rsdp_find_rsdt_range(), script_exec_line(), set_dhcp_option(), sha1_update(), sha256_update(), sha512_update(), smbios_structure(), smscusb_fdt_fetch_mac(), t509_id_read_eeprom(), t509_load_eeprom_word(), tcpip_bind(), tftp_rx_data(), tg3_nvram_read(), tg3_nvram_read_be32(), tg3_nvram_read_using_eeprom(), tls_send_client_key_exchange_ecdhe(), UACCESS_INLINE(), UACCESS_INLINE(), ucode_parse_amd(), ucode_parse_intel(), virtio_pci_map_capability(), vmbus_xfer_page_iobufs(), vp_get(), vpm_get(), vpm_ioread16(), vpm_ioread32(), vpm_ioread8(), vpm_iowrite16(), vpm_iowrite32(), vpm_iowrite8(), vxge_hw_fifo_txd_offset_up(), vxge_hw_ring_replenish(), vxge_hw_ring_rxd_offset_up(), vxge_hw_set_fw_api(), weierstrass_done_raw(), weierstrass_init_raw(), weierstrass_is_infinity(), xenstore_recv(), xenstore_send(), xfer_seek(), xferbuf_read(), xferbuf_write(), xhci_extended_capability(), and xhci_supported_protocol().