iPXE
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.
struct init_fn pci_autoboot_init_fn __init_fn (INIT_NORMAL)
 PCI autoboot device initialisation function.

Macro Definition Documentation

◆ autoboot_busdevfn

#define autoboot_busdevfn   __use_data16 ( autoboot_busdevfn )

Definition at line 34 of file pci_autoboot.c.

Referenced by __bss16(), and pci_autoboot_init().

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ __bss16()

References autoboot_busdevfn.

◆ pci_autoboot_init()

void pci_autoboot_init ( void )
static

Initialise PCI autoboot device.

Definition at line 39 of file pci_autoboot.c.

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

References autoboot_busdevfn, BUS_TYPE_PCI, and set_autoboot_busloc().

Referenced by __init_fn().

◆ __init_fn()

struct init_fn pci_autoboot_init_fn __init_fn ( INIT_NORMAL )

PCI autoboot device initialisation function.

References __init_fn, INIT_NORMAL, and pci_autoboot_init().