TianoCore EDK2 master
|
Go to the source code of this file.
Macros | |
#define | MAX_LINE_LENGTH 512 |
Functions | |
EFI_STATUS | ParseRecoveryDataFile (IN UINT8 *DataBuffer, IN UINTN BufferSize, IN OUT CONFIG_HEADER *ConfigHeader, IN OUT RECOVERY_CONFIG_DATA **RecoveryArray) |
Parse the INI configuration file and pass the information to the recovery driver so that the driver can perform recovery accordingly.
Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ParseConfigProfile.c.
#define MAX_LINE_LENGTH 512 |
Definition at line 15 of file ParseConfigProfile.c.
EFI_STATUS ParseRecoveryDataFile | ( | IN UINT8 * | DataBuffer, |
IN UINTN | BufferSize, | ||
IN OUT CONFIG_HEADER * | ConfigHeader, | ||
IN OUT RECOVERY_CONFIG_DATA ** | RecoveryArray | ||
) |
Parse Config data file to get the updated data array.
[in] | DataBuffer | Config raw file buffer. |
[in] | BufferSize | Size of raw buffer. |
[in,out] | ConfigHeader | Pointer to the config header. |
[in,out] | RecoveryArray | Pointer to the config of recovery data. |
EFI_NOT_FOUND | No config data is found. |
EFI_OUT_OF_RESOURCES | No enough memory is allocated. |
EFI_SUCCESS | Parse the config file successfully. |
Definition at line 31 of file ParseConfigProfile.c.