/* * Copyright (c) 2021, Konstantin Aladyshev * * SPDX-License-Identifier: MIT */ #include #include #include #include EFI_STATUS EFIAPI UefiMain ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable ) { Print(L"PcdInt8=0x%x\n", FixedPcdGet8(PcdInt8)); Print(L"PcdInt16=0x%x\n", FixedPcdGet16(PcdInt16)); Print(L"PcdInt32=0x%x\n", FixedPcdGet32(PcdInt32)); Print(L"PcdInt64=0x%x\n", FixedPcdGet64(PcdInt64)); Print(L"PcdBool=0x%x\n", FixedPcdGetBool(PcdBool)); Print(L"PcdInt8=0x%x\n", PcdGet8(PcdInt8)); Print(L"PcdInt16=0x%x\n", PcdGet16(PcdInt16)); Print(L"PcdInt32=0x%x\n", PcdGet32(PcdInt32)); Print(L"PcdInt64=0x%x\n", PcdGet64(PcdInt64)); Print(L"PcdIntBool=0x%x\n", PcdGetBool(PcdBool)); Print(L"PcdAsciiStr=%a\n", FixedPcdGetPtr(PcdAsciiStr)); Print(L"PcdAsciiStrSize=%d\n", FixedPcdGetSize(PcdAsciiStr)); Print(L"PcdUCS2Str=%s\n", PcdGetPtr(PcdUCS2Str)); Print(L"PcdUCS2StrSize=%d\n", PcdGetSize(PcdUCS2Str)); for (UINTN i=0; i