iPXE
Data Structures | Macros | Functions
aoe.h File Reference

AoE protocol. More...

#include <stdint.h>
#include <ipxe/list.h>
#include <ipxe/if_ether.h>
#include <ipxe/retry.h>
#include <ipxe/ata.h>
#include <ipxe/acpi.h>
#include <ipxe/netdevice.h>
#include <ipxe/interface.h>

Go to the source code of this file.

Data Structures

struct  aoecfg
 An AoE config command. More...
 
struct  aoeata
 An AoE ATA command. More...
 
union  aoecmd
 An AoE command. More...
 
struct  aoehdr
 An AoE header. More...
 
struct  aoe_device
 An AoE device. More...
 
struct  abft_table
 AoE Boot Firmware Table (aBFT) More...
 

Macros

#define AOE_FL_EXTENDED   0x40
 LBA48 extended addressing. More...
 
#define AOE_FL_DEV_HEAD   0x10
 Device/head flag. More...
 
#define AOE_FL_ASYNC   0x02
 Asynchronous write. More...
 
#define AOE_FL_WRITE   0x01
 Write command. More...
 
#define AOE_VERSION   0x10
 Version 1. More...
 
#define AOE_VERSION_MASK   0xf0
 Version part of ver_flags field. More...
 
#define AOE_FL_RESPONSE   0x08
 Message is a response. More...
 
#define AOE_FL_ERROR   0x04
 Command generated an error. More...
 
#define AOE_MAJOR_BROADCAST   0xffff
 
#define AOE_MINOR_BROADCAST   0xff
 
#define AOE_CMD_ATA   0x00
 Issue ATA command. More...
 
#define AOE_CMD_CONFIG   0x01
 Query Config Information. More...
 
#define AOE_ERR_BAD_COMMAND   1
 Unrecognised command code. More...
 
#define AOE_ERR_BAD_PARAMETER   2
 Bad argument parameter. More...
 
#define AOE_ERR_UNAVAILABLE   3
 Device unavailable. More...
 
#define AOE_ERR_CONFIG_EXISTS   4
 Config string present. More...
 
#define AOE_ERR_BAD_VERSION   5
 Unsupported version. More...
 
#define AOE_STATUS_ERR_MASK   0x0f
 Error portion of status code. More...
 
#define AOE_STATUS_PENDING   0x80
 Command pending. More...
 
#define AOE_TAG_MAGIC   0x18ae0000
 AoE tag magic marker. More...
 
#define AOE_MAX_COUNT   2
 Maximum number of sectors per packet. More...
 
#define ABFT_SIG   ACPI_SIGNATURE ( 'a', 'B', 'F', 'T' )
 AoE boot firmware table signature. More...
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 

Detailed Description

AoE protocol.

Definition in file aoe.h.

Macro Definition Documentation

◆ AOE_FL_EXTENDED

#define AOE_FL_EXTENDED   0x40

LBA48 extended addressing.

Definition at line 56 of file aoe.h.

◆ AOE_FL_DEV_HEAD

#define AOE_FL_DEV_HEAD   0x10

Device/head flag.

Definition at line 57 of file aoe.h.

◆ AOE_FL_ASYNC

#define AOE_FL_ASYNC   0x02

Asynchronous write.

Definition at line 58 of file aoe.h.

◆ AOE_FL_WRITE

#define AOE_FL_WRITE   0x01

Write command.

Definition at line 59 of file aoe.h.

◆ AOE_VERSION

#define AOE_VERSION   0x10

Version 1.

Definition at line 87 of file aoe.h.

◆ AOE_VERSION_MASK

#define AOE_VERSION_MASK   0xf0

Version part of ver_flags field.

Definition at line 88 of file aoe.h.

◆ AOE_FL_RESPONSE

#define AOE_FL_RESPONSE   0x08

Message is a response.

Definition at line 90 of file aoe.h.

◆ AOE_FL_ERROR

#define AOE_FL_ERROR   0x04

Command generated an error.

Definition at line 91 of file aoe.h.

◆ AOE_MAJOR_BROADCAST

#define AOE_MAJOR_BROADCAST   0xffff

Definition at line 93 of file aoe.h.

◆ AOE_MINOR_BROADCAST

#define AOE_MINOR_BROADCAST   0xff

Definition at line 94 of file aoe.h.

◆ AOE_CMD_ATA

#define AOE_CMD_ATA   0x00

Issue ATA command.

Definition at line 96 of file aoe.h.

◆ AOE_CMD_CONFIG

#define AOE_CMD_CONFIG   0x01

Query Config Information.

Definition at line 97 of file aoe.h.

◆ AOE_ERR_BAD_COMMAND

#define AOE_ERR_BAD_COMMAND   1

Unrecognised command code.

Definition at line 99 of file aoe.h.

◆ AOE_ERR_BAD_PARAMETER

#define AOE_ERR_BAD_PARAMETER   2

Bad argument parameter.

Definition at line 100 of file aoe.h.

◆ AOE_ERR_UNAVAILABLE

#define AOE_ERR_UNAVAILABLE   3

Device unavailable.

Definition at line 101 of file aoe.h.

◆ AOE_ERR_CONFIG_EXISTS

#define AOE_ERR_CONFIG_EXISTS   4

Config string present.

Definition at line 102 of file aoe.h.

◆ AOE_ERR_BAD_VERSION

#define AOE_ERR_BAD_VERSION   5

Unsupported version.

Definition at line 103 of file aoe.h.

◆ AOE_STATUS_ERR_MASK

#define AOE_STATUS_ERR_MASK   0x0f

Error portion of status code.

Definition at line 105 of file aoe.h.

◆ AOE_STATUS_PENDING

#define AOE_STATUS_PENDING   0x80

Command pending.

Definition at line 106 of file aoe.h.

◆ AOE_TAG_MAGIC

#define AOE_TAG_MAGIC   0x18ae0000

AoE tag magic marker.

Definition at line 109 of file aoe.h.

◆ AOE_MAX_COUNT

#define AOE_MAX_COUNT   2

Maximum number of sectors per packet.

Definition at line 112 of file aoe.h.

◆ ABFT_SIG

#define ABFT_SIG   ACPI_SIGNATURE ( 'a', 'B', 'F', 'T' )

AoE boot firmware table signature.

Definition at line 144 of file aoe.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )