iPXE
Data Structures | Defines | Typedefs | Functions
isa.h File Reference
#include <stdint.h>
#include <ipxe/isa_ids.h>
#include <ipxe/device.h>
#include <ipxe/tables.h>

Go to the source code of this file.

Data Structures

struct  isa_device
 An ISA device. More...
struct  isa_driver
 An ISA driver. More...

Defines

#define ISA_DRIVERS   __table ( struct isa_driver, "isa_drivers" )
 ISA driver table.
#define __isa_driver   __table_entry ( ISA_DRIVERS, 01 )
 Declare an ISA driver.
#define ISA_ROM(IMAGE, DESCRIPTION)

Typedefs

typedef uint16_t isa_probe_addr_t

Functions

 FILE_LICENCE (GPL2_OR_LATER)
static void isa_set_drvdata (struct isa_device *isa, void *priv)
 Set ISA driver-private data.
static void * isa_get_drvdata (struct isa_device *isa)
 Get ISA driver-private data.

Define Documentation

#define ISA_DRIVERS   __table ( struct isa_driver, "isa_drivers" )

ISA driver table.

Definition at line 62 of file isa.h.

Referenced by isabus_probe().

#define __isa_driver   __table_entry ( ISA_DRIVERS, 01 )

Declare an ISA driver.

Definition at line 65 of file isa.h.

#define ISA_ROM (   IMAGE,
  DESCRIPTION 
)

Definition at line 92 of file isa.h.


Typedef Documentation

Definition at line 31 of file isa.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER  )
static void isa_set_drvdata ( struct isa_device isa,
void *  priv 
) [inline, static]

Set ISA driver-private data.

Parameters:
isaISA device
privPrivate data

Definition at line 73 of file isa.h.

References isa_device::priv, and priv.

                                                                          {
        isa->priv = priv;
}
static void* isa_get_drvdata ( struct isa_device isa) [inline, static]

Get ISA driver-private data.

Parameters:
isaISA device
Return values:
privPrivate data

Definition at line 83 of file isa.h.

References isa_device::priv.

                                                                {
        return isa->priv;
}