NumberOfTableEntries The number of system configuration tables in the buffer ConfigurationTable.
ConfigurationTable A pointer to the system configuration tables. The number of entries in the table is NumberOfTableEntries.
ConfigurationTable에서 사용되는 EFI_CONFIGURATION_TABLE type은 아래와 같은 구조를 나타내고 있다.
이를 통해서 ShowTables라는 간단한 애플리케이션을 만들어 OVMF에서 해당 구조가 참조하는 테이블을 살펴보겠다.
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
EFI_STATUS
EFIAPI
UefiMain (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
{
for (UINTN i=0; i<SystemTable->NumberOfTableEntries; i++) {
Print(L"%g, %p\n", SystemTable->ConfigurationTable[i].VendorGuid,
SystemTable->ConfigurationTable[i].VendorTable);
}
return EFI_SUCCESS;
}
gLzmaCustomDecompressGuid
``LZMA_CUSTOM_DECOMPRESS_GUID
GUID는 LZMA 사용자 지정 압축/압축 해제 알고리즘을 나타낸다. 콘텐츠가 LZMA를 사용하여 압축된 EFI_SECTION_GUID_DEFINED 유형의 FFS 파일 섹션을 식별하는 데 사용되는 전역 ID이다.