iPXE
Macros | Functions
pci_autoboot.c File Reference
#include <stdint.h>
#include <ipxe/device.h>
#include <ipxe/init.h>
#include <realmode.h>
#include <usr/autoboot.h>

Go to the source code of this file.

Macros

#define autoboot_busdevfn   __use_data16 ( autoboot_busdevfn )
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
uint16_t __bss16 (autoboot_busdevfn)
 
static void pci_autoboot_init (void)
 Initialise PCI autoboot device. More...
 
struct init_fn pci_autoboot_init_fn __init_fn (INIT_NORMAL)
 PCI autoboot device initialisation function. More...
 

Macro Definition Documentation

◆ autoboot_busdevfn

#define autoboot_busdevfn   __use_data16 ( autoboot_busdevfn )

Definition at line 34 of file pci_autoboot.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __bss16()

uint16_t __bss16 ( autoboot_busdevfn  )

◆ pci_autoboot_init()

static void pci_autoboot_init ( void  )
static

Initialise PCI autoboot device.

Definition at line 39 of file pci_autoboot.c.

39  {
40 
41  if ( autoboot_busdevfn )
43 }
void set_autoboot_busloc(unsigned int bus_type, unsigned int location)
Identify autoboot device by bus type and location.
Definition: autoboot.c:478
#define autoboot_busdevfn
Definition: pci_autoboot.c:34
#define BUS_TYPE_PCI
PCI bus type.
Definition: device.h:43

References autoboot_busdevfn, BUS_TYPE_PCI, and set_autoboot_busloc().

◆ __init_fn()

struct init_fn pci_autoboot_init_fn __init_fn ( INIT_NORMAL  )

PCI autoboot device initialisation function.