|
iPXE
|
EFI command line. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <errno.h>#include <ipxe/init.h>#include <ipxe/image.h>#include <ipxe/script.h>#include <ipxe/uaccess.h>#include <ipxe/efi/efi.h>#include <ipxe/efi/efi_cmdline.h>Go to the source code of this file.
Macros | |
| #define | colour &efi_cmdline_image |
| Colour for debug messages. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static void | efi_cmdline_free (struct refcnt *refcnt) |
| Free command line image. More... | |
| static int | efi_cmdline_init (void) |
| Initialise EFI command line. More... | |
| static void | efi_cmdline_startup (void) |
| EFI command line startup function. More... | |
| struct startup_fn efi_cmdline_startup_fn | __startup_fn (STARTUP_NORMAL) |
| Command line and initrd initialisation function. More... | |
Variables | |
| const wchar_t * | efi_cmdline |
| EFI command line (may not be wNUL-terminated. More... | |
| size_t | efi_cmdline_len |
| Length of EFI command line (in bytes) More... | |
| static char * | efi_cmdline_copy |
| Internal copy of the command line. More... | |
| static struct image | efi_cmdline_image |
| Embedded script representing the command line. More... | |
EFI command line.
Definition in file efi_cmdline.c.
| #define colour &efi_cmdline_image |
Colour for debug messages.
Definition at line 75 of file efi_cmdline.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Free command line image.
| refcnt | Reference count |
Definition at line 58 of file efi_cmdline.c.
References container_of, DBGC, efi_cmdline_copy, free, and free_image().
|
static |
Initialise EFI command line.
| rc | Return status code |
Definition at line 82 of file efi_cmdline.c.
References cmdline, colour, image::data, DBGC, efi_cmdline, efi_cmdline_copy, efi_cmdline_image, efi_cmdline_len, ENOMEM, image_put(), isspace(), image::len, len, malloc(), rc, register_image(), snprintf(), strerror(), and strlen().
Referenced by efi_cmdline_startup().
|
static |
EFI command line startup function.
Definition at line 141 of file efi_cmdline.c.
References efi_cmdline_init(), and rc.
| struct startup_fn efi_cmdline_startup_fn __startup_fn | ( | STARTUP_NORMAL | ) |
Command line and initrd initialisation function.
| const wchar_t* efi_cmdline |
EFI command line (may not be wNUL-terminated.
Definition at line 45 of file efi_cmdline.c.
Referenced by efi_cmdline_init(), and efi_init().
| size_t efi_cmdline_len |
Length of EFI command line (in bytes)
Definition at line 48 of file efi_cmdline.c.
Referenced by efi_cmdline_init(), and efi_init().
|
static |
Internal copy of the command line.
Definition at line 51 of file efi_cmdline.c.
Referenced by efi_cmdline_free(), and efi_cmdline_init().
|
static |
Embedded script representing the command line.
Definition at line 67 of file efi_cmdline.c.
Referenced by efi_cmdline_init().
1.8.15