iPXE
Modules | Data Structures | Macros | Functions | Variables
INT 13 floppy disk drive types

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))
 

Variables

uint8_t int13_disk_address::bufsize
 Size of the packet, in bytes. More...
 
uint8_t int13_disk_address::reserved_a
 Reserved. More...
 
uint8_t int13_disk_address::count
 Block count. More...
 
uint8_t int13_disk_address::reserved_b
 Reserved. More...
 
struct segoff int13_disk_address::buffer
 Data buffer. More...
 
uint64_t int13_disk_address::lba
 Starting block number. More...
 
uint64_t int13_disk_address::buffer_phys
 Data buffer (EDD 3.0+ only) More...
 
uint32_t int13_disk_address::long_count
 Block count (EDD 4.0+ only) More...
 
uint32_t int13_disk_address::reserved_c
 Reserved. More...
 
uint8_t bufsize
 Size of the packet, in bytes. More...
 
uint8_t reserved_a
 Reserved. More...
 
uint8_t count
 Block count. More...
 
uint8_t reserved_b
 Reserved. More...
 
struct segoff buffer
 Data buffer. More...
 
uint64_t lba
 Starting block number. More...
 
uint64_t buffer_phys
 Data buffer (EDD 3.0+ only) More...
 
uint32_t long_count
 Block count (EDD 4.0+ only) More...
 
uint32_t reserved_c
 Reserved. More...
 
uint16_t int13_disk_parameters::bufsize
 Size of this structure. More...
 
uint16_t int13_disk_parameters::flags
 Flags. More...
 
uint32_t int13_disk_parameters::cylinders
 Number of cylinders. More...
 
uint32_t int13_disk_parameters::heads
 Number of heads. More...
 
uint32_t int13_disk_parameters::sectors_per_track
 Number of sectors per track. More...
 
uint64_t int13_disk_parameters::sectors
 Total number of sectors on drive. More...
 
uint16_t int13_disk_parameters::sector_size
 Bytes per sector. More...
 
struct segoff int13_disk_parameters::dpte
 Device parameter table extension. More...
 
struct edd_device_path_information int13_disk_parameters::dpi
 Device path information. More...
 
uint16_t flags
 Flags. More...
 
uint32_t cylinders
 Number of cylinders. More...
 
uint32_t heads
 Number of heads. More...
 
uint32_t sectors_per_track
 Number of sectors per track. More...
 
uint64_t sectors
 Total number of sectors on drive. More...
 
uint16_t sector_size
 Bytes per sector. More...
 
struct segoff dpte
 Device parameter table extension. More...
 
struct edd_device_path_information dpi
 Device path information. More...
 
uint8_t int13_cdrom_specification::size
 Size of packet in bytes. More...
 
uint8_t int13_cdrom_specification::media_type
 Boot media type. More...
 
uint8_t int13_cdrom_specification::drive
 Drive number. More...
 
uint8_t int13_cdrom_specification::controller
 CD-ROM controller number. More...
 
uint32_t int13_cdrom_specification::lba
 LBA of disk image to emulate. More...
 
uint16_t int13_cdrom_specification::device
 Device specification. More...
 
uint16_t int13_cdrom_specification::cache_segment
 Segment of 3K buffer for caching CD-ROM reads. More...
 
uint16_t int13_cdrom_specification::load_segment
 Load segment for initial boot image. More...
 
uint16_t int13_cdrom_specification::load_sectors
 Number of 512-byte sectors to load. More...
 
uint8_t int13_cdrom_specification::cyl
 Low 8 bits of cylinder number. More...
 
uint8_t int13_cdrom_specification::cyl_sector
 Sector number, plus high 2 bits of cylinder number. More...
 
uint8_t int13_cdrom_specification::head
 Head number. More...
 
uint8_t size
 Size of packet in bytes. More...
 
uint8_t media_type
 Boot media type. More...
 
uint8_t drive
 Drive number. More...
 
uint8_t controller
 CD-ROM controller number. More...
 
uint16_t device
 Device specification. More...
 
uint16_t cache_segment
 Segment of 3K buffer for caching CD-ROM reads. More...
 
uint16_t load_segment
 Load segment for initial boot image. More...
 
uint16_t load_sectors
 Number of 512-byte sectors to load. More...
 
uint8_t cyl
 Low 8 bits of cylinder number. More...
 
uint8_t cyl_sector
 Sector number, plus high 2 bits of cylinder number. More...
 
uint8_t head
 Head number. More...
 
uint8_t int13_cdrom_boot_catalog_command::size
 Size of packet in bytes. More...
 
uint8_t int13_cdrom_boot_catalog_command::count
 Number of sectors of boot catalog to read. More...
 
uint32_t int13_cdrom_boot_catalog_command::buffer
 Buffer for boot catalog. More...
 
uint16_t int13_cdrom_boot_catalog_command::start
 First sector in boot catalog to transfer. More...
 
uint16_t start
 First sector in boot catalog to transfer. More...
 
uint8_t partition_chs::head
 Head number. More...
 
uint8_t partition_chs::cyl_sector
 Sector number, plus high 2 bits of cylinder number. More...
 
uint8_t partition_chs::cyl
 Low 8 bits of cylinder number. More...
 
uint8_t partition_table_entry::bootable
 Bootable flag. More...
 
struct partition_chs partition_table_entry::chs_start
 C/H/S start address. More...
 
uint8_t partition_table_entry::type
 System indicator (partition type) More...
 
struct partition_chs partition_table_entry::chs_end
 C/H/S end address. More...
 
uint32_t partition_table_entry::start
 Linear start address. More...
 
uint32_t partition_table_entry::length
 Linear length. More...
 
uint8_t bootable
 Bootable flag. More...
 
struct partition_chs chs_start
 C/H/S start address. More...
 
uint8_t type
 System indicator (partition type) More...
 
struct partition_chs chs_end
 C/H/S end address. More...
 
uint32_t length
 Linear length. More...
 
uint8_t master_boot_record::code [440]
 Code area. More...
 
uint32_t master_boot_record::signature
 Disk signature. More...
 
uint8_t master_boot_record::pad [2]
 Padding. More...
 
struct partition_table_entry master_boot_record::partitions [4]
 Partition table. More...
 
uint16_t master_boot_record::magic
 0x55aa MBR signature More...
 
uint8_t code [440]
 Code area. More...
 
uint32_t signature
 Disk signature. More...
 
uint8_t pad [2]
 Padding. More...
 
struct partition_table_entry partitions [4]
 Partition table. More...
 
uint16_t magic
 0x55aa MBR signature More...
 
uint8_t int13_fdd_geometry::tracks
 Number of tracks. More...
 
uint8_t int13_fdd_geometry::heads_spt
 Number of heads and sectors per track. More...
 
struct int13_fdd_geometry __attribute__
 
uint8_t int13_fdd_parameters::step_rate__head_unload
 
uint8_t int13_fdd_parameters::head_load__ndma
 
uint8_t int13_fdd_parameters::motor_off_delay
 
uint8_t int13_fdd_parameters::bytes_per_sector
 
uint8_t int13_fdd_parameters::sectors_per_track
 
uint8_t int13_fdd_parameters::gap_length
 
uint8_t int13_fdd_parameters::data_length
 
uint8_t int13_fdd_parameters::format_gap_length
 
uint8_t int13_fdd_parameters::format_filler
 
uint8_t int13_fdd_parameters::head_settle_time
 
uint8_t int13_fdd_parameters::motor_start_time
 
uint8_t step_rate__head_unload
 
uint8_t head_load__ndma
 
uint8_t motor_off_delay
 
uint8_t bytes_per_sector
 
uint8_t gap_length
 
uint8_t data_length
 
uint8_t format_gap_length
 
uint8_t format_filler
 
uint8_t head_settle_time
 
uint8_t motor_start_time
 
uint32_t lba
 Start address. More...
 
uint8_t size
 Entry size (in 32-bit words) More...
 
uint16_t count = count
 Number of entries. More...
 
uint32_t buffer
 Buffer index (or NETVSC_RNDIS_NO_BUFFER) More...
 
uint32_t start
 Starting offset. More...
 

Detailed Description

Macro Definition Documentation

◆ INT13_FDD_TYPE_360K

#define INT13_FDD_TYPE_360K   0x01

360K

Definition at line 79 of file int13.h.

◆ INT13_FDD_TYPE_1M2

#define INT13_FDD_TYPE_1M2   0x02

1.2M

Definition at line 81 of file int13.h.

◆ INT13_FDD_TYPE_720K

#define INT13_FDD_TYPE_720K   0x03

720K

Definition at line 83 of file int13.h.

◆ INT13_FDD_TYPE_1M44

#define INT13_FDD_TYPE_1M44   0x04

1.44M

Definition at line 85 of file int13.h.

◆ INT13_MAX_CHS_SECTORS

#define INT13_MAX_CHS_SECTORS   15482880

Maximum number of sectors for which CHS geometry is allowed to be valid.

This number is taken from the EDD specification.

Definition at line 205 of file int13.h.

◆ PART_HEAD

#define PART_HEAD (   chs)    ( (chs).head )

Definition at line 257 of file int13.h.

◆ PART_SECTOR

#define PART_SECTOR (   chs)    ( (chs).cyl_sector & 0x3f )

Definition at line 258 of file int13.h.

◆ PART_CYLINDER

#define PART_CYLINDER (   chs)    ( (chs).cyl | ( ( (chs).cyl_sector & 0xc0 ) << 2 ) )

Definition at line 259 of file int13.h.

◆ INT13_MBR_MAGIC

#define INT13_MBR_MAGIC   0xaa55

MBR magic signature.

Definition at line 292 of file int13.h.

◆ INT13_FDD_GEOMETRY

#define INT13_FDD_GEOMETRY (   cylinders,
  heads,
  sectors 
)
Value:
{ \
.tracks = (cylinders), \
.heads_spt = ( ( (heads) << 6 ) | (sectors) ), \
}
uint32_t heads
Number of heads.
Definition: int13.h:18
uint32_t cylinders
Number of cylinders.
Definition: int13.h:16
uint64_t sectors
Total number of sectors on drive.
Definition: int13.h:22

Define a floppy disk geometry.

Definition at line 303 of file int13.h.

◆ INT13_FDD_CYLINDERS

#define INT13_FDD_CYLINDERS (   geometry)    ( (geometry)->tracks )

Get floppy disk number of cylinders.

Definition at line 310 of file int13.h.

◆ INT13_FDD_HEADS

#define INT13_FDD_HEADS (   geometry)    ( (geometry)->heads_spt >> 6 )

Get floppy disk number of heads.

Definition at line 313 of file int13.h.

◆ INT13_FDD_SECTORS

#define INT13_FDD_SECTORS (   geometry)    ( (geometry)->heads_spt & 0x3f )

Get floppy disk number of sectors per track.

Definition at line 316 of file int13.h.

Function Documentation

◆ __attribute__()

struct int13_disk_address __attribute__ ( (packed)  )

Variable Documentation

◆ bufsize [1/3]

uint8_t int13_disk_address::bufsize

Size of the packet, in bytes.

Definition at line 90 of file int13.h.

◆ reserved_a [1/2]

uint8_t int13_disk_address::reserved_a

Reserved.

Definition at line 92 of file int13.h.

◆ count [1/4]

uint8_t int13_disk_address::count

Block count.

Definition at line 94 of file int13.h.

◆ reserved_b [1/2]

uint8_t int13_disk_address::reserved_b

Reserved.

Definition at line 96 of file int13.h.

◆ buffer [1/4]

struct segoff int13_disk_address::buffer

Data buffer.

Definition at line 98 of file int13.h.

◆ lba [1/4]

uint64_t int13_disk_address::lba

Starting block number.

Definition at line 100 of file int13.h.

◆ buffer_phys [1/2]

uint64_t int13_disk_address::buffer_phys

Data buffer (EDD 3.0+ only)

Definition at line 102 of file int13.h.

◆ long_count [1/2]

uint32_t int13_disk_address::long_count

Block count (EDD 4.0+ only)

Definition at line 104 of file int13.h.

◆ reserved_c [1/2]

uint32_t int13_disk_address::reserved_c

Reserved.

Definition at line 106 of file int13.h.

◆ bufsize [2/3]

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().

◆ reserved_a [2/2]

uint8_t reserved_a

Reserved.

Definition at line 14 of file int13.h.

◆ count [2/4]

uint8_t count

Block count.

Number of sectors of boot catalog to read.

Definition at line 16 of file int13.h.

◆ reserved_b [2/2]

uint8_t reserved_b

Reserved.

Definition at line 18 of file int13.h.

◆ buffer [2/4]

uint32_t buffer

Data buffer.

Buffer for boot catalog.

Definition at line 20 of file int13.h.

◆ lba [2/4]

uint32_t lba

Starting block number.

LBA of disk image to emulate.

Definition at line 22 of file int13.h.

◆ buffer_phys [2/2]

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().

◆ long_count [2/2]

uint32_t long_count

Block count (EDD 4.0+ only)

Definition at line 26 of file int13.h.

◆ reserved_c [2/2]

uint32_t reserved_c

Reserved.

Definition at line 28 of file int13.h.

◆ bufsize [3/3]

uint16_t int13_disk_parameters::bufsize

Size of this structure.

Definition at line 112 of file int13.h.

Referenced by int13_get_extended_parameters().

◆ flags [1/2]

uint16_t int13_disk_parameters::flags

Flags.

Definition at line 114 of file int13.h.

Referenced by int13_get_extended_parameters().

◆ cylinders [1/2]

uint32_t int13_disk_parameters::cylinders

Number of cylinders.

Definition at line 116 of file int13.h.

Referenced by int13_get_extended_parameters().

◆ heads [1/2]

uint32_t int13_disk_parameters::heads

Number of heads.

Definition at line 118 of file int13.h.

Referenced by int13_get_extended_parameters().

◆ sectors_per_track [1/3]

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().

◆ sectors [1/2]

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().

◆ sector_size [1/2]

uint16_t int13_disk_parameters::sector_size

Bytes per sector.

Definition at line 124 of file int13.h.

Referenced by int13_get_extended_parameters().

◆ dpte [1/2]

struct segoff int13_disk_parameters::dpte

Device parameter table extension.

Definition at line 126 of file int13.h.

Referenced by int13_get_extended_parameters().

◆ dpi [1/2]

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().

◆ flags [2/2]

uint16_t flags

Flags.

Definition at line 14 of file int13.h.

◆ cylinders [2/2]

uint32_t cylinders

Number of cylinders.

Definition at line 16 of file int13.h.

Referenced by int13_guess_geometry_fdd().

◆ heads [2/2]

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().

◆ sectors_per_track [2/3]

uint8_t sectors_per_track

Number of sectors per track.

Definition at line 20 of file int13.h.

◆ sectors [2/2]

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().

◆ sector_size [2/2]

uint16_t sector_size

Bytes per sector.

Definition at line 24 of file int13.h.

◆ dpte [2/2]

struct segoff dpte

Device parameter table extension.

Definition at line 26 of file int13.h.

Referenced by int13_get_extended_parameters().

◆ dpi [2/2]

Device path information.

Definition at line 28 of file int13.h.

Referenced by int13_device_path_info(), and int13_get_extended_parameters().

◆ size [1/4]

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().

◆ media_type [1/2]

uint8_t int13_cdrom_specification::media_type

Boot media type.

Definition at line 212 of file int13.h.

◆ drive [1/2]

uint8_t int13_cdrom_specification::drive

Drive number.

Definition at line 214 of file int13.h.

Referenced by int13_cdrom_status_terminate().

◆ controller [1/2]

uint8_t int13_cdrom_specification::controller

CD-ROM controller number.

Definition at line 216 of file int13.h.

◆ lba [3/4]

uint32_t int13_cdrom_specification::lba

LBA of disk image to emulate.

Definition at line 218 of file int13.h.

◆ device [1/2]

uint16_t int13_cdrom_specification::device

Device specification.

Definition at line 220 of file int13.h.

◆ cache_segment [1/2]

uint16_t int13_cdrom_specification::cache_segment

Segment of 3K buffer for caching CD-ROM reads.

Definition at line 222 of file int13.h.

◆ load_segment [1/2]

uint16_t int13_cdrom_specification::load_segment

Load segment for initial boot image.

Definition at line 224 of file int13.h.

◆ load_sectors [1/2]

uint16_t int13_cdrom_specification::load_sectors

Number of 512-byte sectors to load.

Definition at line 226 of file int13.h.

◆ cyl [1/3]

uint8_t int13_cdrom_specification::cyl

Low 8 bits of cylinder number.

Definition at line 228 of file int13.h.

◆ cyl_sector [1/3]

uint8_t int13_cdrom_specification::cyl_sector

Sector number, plus high 2 bits of cylinder number.

Definition at line 230 of file int13.h.

◆ head [1/3]

uint8_t int13_cdrom_specification::head

Head number.

Definition at line 232 of file int13.h.

◆ size [2/4]

uint8_t size

Size of packet in bytes.

Definition at line 12 of file int13.h.

◆ media_type [2/2]

uint8_t media_type

Boot media type.

Definition at line 14 of file int13.h.

◆ drive [2/2]

uint8_t drive

◆ controller [2/2]

uint8_t controller

CD-ROM controller number.

Definition at line 18 of file int13.h.

Referenced by vesafb_mode_list().

◆ device [2/2]

Device specification.

Definition at line 22 of file int13.h.

◆ cache_segment [2/2]

uint16_t cache_segment

Segment of 3K buffer for caching CD-ROM reads.

Definition at line 24 of file int13.h.

◆ load_segment [2/2]

uint16_t load_segment

Load segment for initial boot image.

Definition at line 26 of file int13.h.

◆ load_sectors [2/2]

uint16_t load_sectors

Number of 512-byte sectors to load.

Definition at line 28 of file int13.h.

◆ cyl [2/3]

uint8_t cyl

Low 8 bits of cylinder number.

Definition at line 30 of file int13.h.

◆ cyl_sector [2/3]

uint8_t cyl_sector

Sector number, plus high 2 bits of cylinder number.

Definition at line 32 of file int13.h.

◆ head [2/3]

uint8_t head

◆ size [3/4]

uint8_t int13_cdrom_boot_catalog_command::size

Size of packet in bytes.

Definition at line 238 of file int13.h.

◆ count [3/4]

uint8_t int13_cdrom_boot_catalog_command::count

Number of sectors of boot catalog to read.

Definition at line 240 of file int13.h.

◆ buffer [3/4]

uint32_t int13_cdrom_boot_catalog_command::buffer

Buffer for boot catalog.

Definition at line 242 of file int13.h.

◆ start [1/4]

uint16_t int13_cdrom_boot_catalog_command::start

First sector in boot catalog to transfer.

Definition at line 244 of file int13.h.

◆ start [2/4]

uint32_t start

First sector in boot catalog to transfer.

Linear start address.

Definition at line 18 of file int13.h.

◆ head [3/3]

uint8_t partition_chs::head

Head number.

Definition at line 250 of file int13.h.

◆ cyl_sector [3/3]

uint8_t partition_chs::cyl_sector

Sector number, plus high 2 bits of cylinder number.

Definition at line 252 of file int13.h.

◆ cyl [3/3]

uint8_t partition_chs::cyl

Low 8 bits of cylinder number.

Definition at line 254 of file int13.h.

◆ bootable [1/2]

uint8_t partition_table_entry::bootable

Bootable flag.

Definition at line 264 of file int13.h.

◆ chs_start [1/2]

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().

◆ type [1/2]

uint8_t partition_table_entry::type

System indicator (partition type)

Definition at line 268 of file int13.h.

Referenced by int13_guess_geometry_hdd().

◆ chs_end [1/2]

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().

◆ start [3/4]

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().

◆ length [1/2]

uint32_t partition_table_entry::length

Linear length.

Definition at line 274 of file int13.h.

Referenced by int13con_find().

◆ bootable [2/2]

uint8_t bootable

Bootable flag.

Definition at line 12 of file int13.h.

◆ chs_start [2/2]

struct partition_chs chs_start

C/H/S start address.

Definition at line 14 of file int13.h.

◆ type [2/2]

uint8_t type

System indicator (partition type)

Definition at line 16 of file int13.h.

◆ chs_end [2/2]

struct partition_chs chs_end

C/H/S end address.

Definition at line 18 of file int13.h.

◆ length [2/2]

uint32_t length

Linear length.

Definition at line 22 of file int13.h.

◆ code [1/2]

uint8_t master_boot_record::code[440]

Code area.

Definition at line 280 of file int13.h.

◆ signature [1/2]

uint32_t master_boot_record::signature

Disk signature.

Definition at line 282 of file int13.h.

Referenced by int13_guess_geometry_hdd().

◆ pad [1/2]

uint8_t master_boot_record::pad[2]

Padding.

Definition at line 284 of file int13.h.

◆ partitions [1/2]

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().

◆ magic [1/2]

uint16_t master_boot_record::magic

0x55aa MBR signature

Definition at line 288 of file int13.h.

Referenced by int13con_find().

◆ code [2/2]

uint8_t code[440]

Code area.

Definition at line 12 of file int13.h.

◆ signature [2/2]

uint32_t signature

Disk signature.

Definition at line 14 of file int13.h.

◆ pad [2/2]

uint8_t pad[2]

Padding.

Definition at line 16 of file int13.h.

◆ partitions [2/2]

struct partition_table_entry partitions[4]

Partition table.

Definition at line 18 of file int13.h.

◆ magic [2/2]

uint16_t magic

0x55aa MBR signature

Definition at line 20 of file int13.h.

◆ tracks

uint8_t int13_fdd_geometry::tracks

Number of tracks.

Definition at line 297 of file int13.h.

◆ heads_spt

uint8_t int13_fdd_geometry::heads_spt

Number of heads and sectors per track.

Definition at line 299 of file int13.h.

◆ __attribute__

◆ step_rate__head_unload [1/2]

uint8_t int13_fdd_parameters::step_rate__head_unload

Definition at line 320 of file int13.h.

◆ head_load__ndma [1/2]

uint8_t int13_fdd_parameters::head_load__ndma

Definition at line 321 of file int13.h.

◆ motor_off_delay [1/2]

uint8_t int13_fdd_parameters::motor_off_delay

Definition at line 322 of file int13.h.

◆ bytes_per_sector [1/2]

uint8_t int13_fdd_parameters::bytes_per_sector

Definition at line 323 of file int13.h.

◆ sectors_per_track [3/3]

uint8_t int13_fdd_parameters::sectors_per_track

Definition at line 324 of file int13.h.

◆ gap_length [1/2]

uint8_t int13_fdd_parameters::gap_length

Definition at line 325 of file int13.h.

◆ data_length [1/2]

uint8_t int13_fdd_parameters::data_length

Definition at line 326 of file int13.h.

◆ format_gap_length [1/2]

uint8_t int13_fdd_parameters::format_gap_length

Definition at line 327 of file int13.h.

◆ format_filler [1/2]

uint8_t int13_fdd_parameters::format_filler

Definition at line 328 of file int13.h.

◆ head_settle_time [1/2]

uint8_t int13_fdd_parameters::head_settle_time

Definition at line 329 of file int13.h.

◆ motor_start_time [1/2]

uint8_t int13_fdd_parameters::motor_start_time

Definition at line 330 of file int13.h.

◆ step_rate__head_unload [2/2]

uint8_t step_rate__head_unload

Definition at line 11 of file int13.h.

◆ head_load__ndma [2/2]

uint8_t head_load__ndma

Definition at line 12 of file int13.h.

◆ motor_off_delay [2/2]

uint8_t motor_off_delay

Definition at line 13 of file int13.h.

◆ bytes_per_sector [2/2]

uint8_t bytes_per_sector

Definition at line 14 of file int13.h.

◆ gap_length [2/2]

uint8_t gap_length

Definition at line 16 of file int13.h.

◆ data_length [2/2]

uint8_t data_length

Definition at line 17 of file int13.h.

◆ format_gap_length [2/2]

uint8_t format_gap_length

Definition at line 18 of file int13.h.

◆ format_filler [2/2]

uint8_t format_filler

Definition at line 19 of file int13.h.

◆ head_settle_time [2/2]

uint8_t head_settle_time

Definition at line 20 of file int13.h.

◆ motor_start_time [2/2]

uint8_t motor_start_time

Definition at line 21 of file int13.h.

◆ lba [4/4]

uint32_t lba

Start address.

LBA of disk image to emulate.

Maximum logical block number.

Logical block address.

This is a logical block number, in big-endian order.

Applicable only if the PMI bit is set.

Definition at line 23 of file scsi.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().

◆ size [4/4]

uint32_t size
Initial value:
{
sq->len = ( count * size )
uint16_t count
Number of entries.
Definition: ena.h:22
uint8_t size
Entry size (in 32-bit words)
Definition: ena.h:16

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(), bigint_add_sample(), bigint_bit_is_set_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_multiply_raw(), bigint_mod_multiply_sample(), bigint_multiply_raw(), bigint_multiply_sample(), bigint_rol_sample(), bigint_ror_sample(), bigint_subtract_sample(), block_translate(), bnx2_transmit(), calloc(), copy_user_to_rm_stack(), denumerate_int_setting(), dmfe_transmit(), efi_ifr_numeric_op(), efi_local_check_volume_name(), efi_local_len(), efi_local_step(), efifb_select_mode(), ena_set_caps(), eth_transmit(), forcedeth_transmit(), free_dma(), free_memblock(), 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_dma(), malloc_dma_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().

◆ count [4/4]

uint8_t count = count

Number of entries.

Number of sectors of boot catalog to read.

Number of ranges.

Number of sections (must be 1)

Actual number of entries.

Definition at line 22 of file ena.h.

Referenced by acpi_find(), 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(), efab_init_mac(), efi_block_boot(), efi_block_hook(), efi_block_rw(), efi_handle_name(), efi_handle_sgr(), 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(), hex_decode(), hfa384x_wait_for_event(), http_block_read(), ibft_set_ipaddr_setting(), int13_extended_rw(), int13_extended_seek(), int13_extended_verify(), int13_hook(), int13_rw_sectors(), intelxlvf_init_ring(), ioremap_pages(), linux_read(), linux_write(), 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(), nfs_read(), nii_map(), parse_eeprom(), pci_msix_map(), peerdist_discovery_reply(), peermux_block_stat(), ping(), qib7322_create_send_bufs(), realtek_init_ring(), 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(), 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().

◆ buffer [4/4]

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(), block_read(), block_translate(), block_write(), com32_load_image(), disable_nodnic_inteface(), efi_locate_handle_buffer_wrapper(), efi_locate_handle_wrapper(), efi_usb_get_string_descriptor(), 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().

◆ start [4/4]

uint32_t start