iPXE
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)
#define REQUIRE_KEYMAP(_map)

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
 PROVIDE_REQUIRING_SYMBOL ()
 REQUIRE_OBJECT (device)
 REQUIRE_OBJECT (embedded)
 REQUIRE_OBJECT (acpi_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)
Value:
REQUIRE_OBJECT ( keymap_ ## _map )
#define REQUIRE_OBJECT(object)
Require an object.
Definition compiler.h:202

Definition at line 375 of file config.c.

◆ REQUIRE_KEYMAP

#define REQUIRE_KEYMAP ( _map)
Value:
#define REQUIRE_KEYMAP_OBJECT(_map)
Definition config.c:375

Definition at line 376 of file config.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ PROVIDE_REQUIRING_SYMBOL()

◆ REQUIRE_OBJECT() [1/3]

REQUIRE_OBJECT ( device )

◆ REQUIRE_OBJECT() [2/3]

REQUIRE_OBJECT ( embedded )

References cpuid_settings, and memmap_settings.

◆ REQUIRE_OBJECT() [3/3]

REQUIRE_OBJECT ( acpi_settings )

References acpi_settings.

◆ REQUIRE_KEYMAP()

REQUIRE_KEYMAP ( KEYBOARD_MAP )

References KEYBOARD_MAP.