iPXE
Macros | Functions
config.c File Reference

Configuration options. More...

#include <config/general.h>
#include <config/console.h>
#include <config/sideband.h>
#include <config/settings.h>

Go to the source code of this file.

Macros

#define REQUIRE_KEYMAP_OBJECT(_map)   REQUIRE_OBJECT ( keymap_ ## _map )
 
#define REQUIRE_KEYMAP(_map)   REQUIRE_KEYMAP_OBJECT ( _map )
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
 PROVIDE_REQUIRING_SYMBOL ()
 
 REQUIRE_OBJECT (device)
 
 REQUIRE_OBJECT (embedded)
 
 REQUIRE_OBJECT (pci_settings)
 
 REQUIRE_KEYMAP (KEYBOARD_MAP)
 

Detailed Description

Configuration options.

This file contains macros that pull various objects into the link based on definitions in configuration header files. Ideally it should be the only place in iPXE where one might need to use #ifdef for compile-time options.

In the fairly common case where an object should only be considered for inclusion if the subsystem it depends on is present, its configuration macros should be placed in a file named config_subsystem.c, where subsystem is the object basename of the main source file for that subsystem. The build system will pull in that file if subsystem.c is included in the final iPXE executable built.

Definition in file config.c.

Macro Definition Documentation

◆ REQUIRE_KEYMAP_OBJECT

#define REQUIRE_KEYMAP_OBJECT (   _map)    REQUIRE_OBJECT ( keymap_ ## _map )

Definition at line 368 of file config.c.

◆ REQUIRE_KEYMAP

#define REQUIRE_KEYMAP (   _map)    REQUIRE_KEYMAP_OBJECT ( _map )

Definition at line 369 of file config.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ PROVIDE_REQUIRING_SYMBOL()

PROVIDE_REQUIRING_SYMBOL ( )

◆ REQUIRE_OBJECT() [1/3]

REQUIRE_OBJECT ( device  )

◆ REQUIRE_OBJECT() [2/3]

REQUIRE_OBJECT ( embedded  )

◆ REQUIRE_OBJECT() [3/3]

REQUIRE_OBJECT ( pci_settings  )

◆ REQUIRE_KEYMAP()

REQUIRE_KEYMAP ( KEYBOARD_MAP  )