OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
GrubEnv.c File Reference
#include <Library/BaseLib.h>
#include <Library/OcDebugLogLib.h>
#include "LinuxBootInternal.h"

Go to the source code of this file.

Typedefs

typedef enum GRUBENV_STATE_ GRUBENV_STATE
 

Enumerations

enum  GRUBENV_STATE_ { GRUBENV_NEXT_LINE , GRUBENV_KEY , GRUBENV_VAR , GRUBENV_COMMENT }
 

Functions

EFI_STATUS InternalProcessGrubEnv (IN OUT CHAR8 *Content, IN CONST UINTN Length)
 

Detailed Description

GRUB environment block parser.

Copyright (c) 2021, Mike Beaton. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause

Definition in file GrubEnv.c.

Typedef Documentation

◆ GRUBENV_STATE

Enumeration Type Documentation

◆ GRUBENV_STATE_

Enumerator
GRUBENV_NEXT_LINE 
GRUBENV_KEY 
GRUBENV_VAR 
GRUBENV_COMMENT 

Definition at line 15 of file GrubEnv.c.

Function Documentation

◆ InternalProcessGrubEnv()

EFI_STATUS InternalProcessGrubEnv ( IN OUT CHAR8 * Content,
IN CONST UINTN Length )

Definition at line 23 of file GrubEnv.c.