|
RDFU
1.0
|
Reading configuration file (adding bad addrs to list) More...
#include "EfiScannerHeaders.h"
Go to the source code of this file.
Macros | |
| #define | MAX_CONF_DATA 512*10 |
Functions | |
| VOID | ParseConfiguration (CHAR8 *ConfData, UINTN ConfDataSize) |
| EFI_STATUS | ReadConfiguration (CHAR16 *ConfPath) |
Reading configuration file (adding bad addrs to list)
Definition in file Conf.c.
| #define MAX_CONF_DATA 512*10 |
Referenced by ReadConfiguration().
| VOID ParseConfiguration | ( | CHAR8 * | ConfData, |
| UINTN | ConfDataSize | ||
| ) |
Function parses the data from the configuration file.
| ConfData | Pointer to configuration data |
| ConfDataSize | Number of bytes in the configuration data |
Definition at line 23 of file Conf.c.
References _policy::BadAddrs, _bad_addr_entry::EndAddr, gEfiScannerPolicy, LogFullAscii(), MAX_BAD_ADDRS, MemCopy(), _policy::NumOfBadAddrs, and _bad_addr_entry::StartAddr.
Referenced by ReadConfiguration().


| EFI_STATUS ReadConfiguration | ( | CHAR16 * | ConfPath | ) |
Function reads the configuration file. Currently the configuration file is only used for the bad addr filtering (not needed by vmware).
| ConfPath | Path to the configuration path (unicode) |
| EFI_SUCCESS | On success |
| EFI_ERROR* | On error |
Definition at line 102 of file Conf.c.
References EFI_STATUS(), LogFileAscii(), LogFullAscii(), MAX_CONF_DATA, MemAllocate(), MemFree(), OpenFile(), and ParseConfiguration().
Referenced by EfiScannerEntryPoint().

