iPXE
Data Structures | Macros | Variables
bios_disks.h File Reference
#include "dev.h"

Go to the source code of this file.

Data Structures

struct  bios_disk_sector
 
struct  bios_disk_loc
 
struct  bios_disk_device
 
struct  bios_disk_driver
 

Macros

#define BIOS_DISK_MAX_NAME_LEN   6
 
#define BIOS_DISK_DRIVER(_name, _fill_drive_name, _min_drive, _max_drive)
 

Variables

struct bus_driver bios_disk_driver
 

Macro Definition Documentation

◆ BIOS_DISK_MAX_NAME_LEN

#define BIOS_DISK_MAX_NAME_LEN   6

Definition at line 11 of file bios_disks.h.

◆ BIOS_DISK_DRIVER

#define BIOS_DISK_DRIVER (   _name,
  _fill_drive_name,
  _min_drive,
  _max_drive 
)
Value:
static struct bios_disk_driver _name = { \
.fill_drive_name = _fill_drive_name, \
.min_drive = _min_drive, \
.max_drive = _max_drive, \
}
void(* fill_drive_name)(char *buf, uint8_t drive)
Definition: bios_disks.h:41

Definition at line 50 of file bios_disks.h.

Variable Documentation

◆ bios_disk_driver

struct bus_driver bios_disk_driver