OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
UserPcd.c File Reference
#include <UserPcd.h>
#include <Library/DebugLib.h>

Go to the source code of this file.

Macros

#define _PCD_VALUE_PcdUefiLibMaxPrintBufferSize   320U
 
#define _PCD_VALUE_PcdUgaConsumeSupport   ((BOOLEAN)1U)
 
#define _PCD_VALUE_PcdDebugPropertyMask
 
#define _PCD_VALUE_PcdDebugRaisePropertyMask   0U
 Can use e.g. DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED.
 
#define _PCD_VALUE_PcdDebugClearMemoryValue   0xAFU
 
#define _PCD_VALUE_PcdFixedDebugPrintErrorLevel   0x80000002U
 
#define _PCD_VALUE_PcdDebugPrintErrorLevel   0x80000002U
 
#define _PCD_VALUE_PcdMaximumAsciiStringLength   0U
 
#define _PCD_VALUE_PcdMaximumUnicodeStringLength   1000000U
 
#define _PCD_VALUE_PcdMaximumLinkedListLength   1000000U
 
#define _PCD_VALUE_PcdVerifyNodeInList   ((BOOLEAN)0U)
 
#define _PCD_VALUE_PcdCpuNumberOfReservedVariableMtrrs   0x2U
 
#define _PCD_VALUE_PcdMaximumDevicePathNodeCount   0U
 
#define _PCD_VALUE_PcdFatReadOnlyMode   ((BOOLEAN)1U)
 

Variables

UINT32 _gPcd_FixedAtBuild_PcdUefiLibMaxPrintBufferSize = _PCD_VALUE_PcdUefiLibMaxPrintBufferSize
 
BOOLEAN _gPcd_FixedAtBuild_PcdUgaConsumeSupport = _PCD_VALUE_PcdUgaConsumeSupport
 
UINT8 _gPcd_FixedAtBuild_PcdDebugPropertyMask = _PCD_VALUE_PcdDebugPropertyMask
 
UINT8 _gPcd_FixedAtBuild_PcdDebugRaisePropertyMask = _PCD_VALUE_PcdDebugRaisePropertyMask
 
UINT8 _gPcd_FixedAtBuild_PcdDebugClearMemoryValue = _PCD_VALUE_PcdDebugClearMemoryValue
 
UINT32 _gPcd_FixedAtBuild_PcdFixedDebugPrintErrorLevel = _PCD_VALUE_PcdFixedDebugPrintErrorLevel
 
UINT32 _gPcd_FixedAtBuild_PcdDebugPrintErrorLevel = _PCD_VALUE_PcdDebugPrintErrorLevel
 
UINT32 _gPcd_FixedAtBuild_PcdMaximumAsciiStringLength = _PCD_VALUE_PcdMaximumAsciiStringLength
 
UINT32 _gPcd_FixedAtBuild_PcdMaximumUnicodeStringLength = _PCD_VALUE_PcdMaximumUnicodeStringLength
 
UINT32 _gPcd_FixedAtBuild_PcdMaximumLinkedListLength = _PCD_VALUE_PcdMaximumLinkedListLength
 
BOOLEAN _gPcd_FixedAtBuild_PcdVerifyNodeInList = _PCD_VALUE_PcdVerifyNodeInList
 
UINT32 _gPcd_FixedAtBuild_PcdCpuNumberOfReservedVariableMtrrs = _PCD_VALUE_PcdCpuNumberOfReservedVariableMtrrs
 
UINT32 _gPcd_FixedAtBuild_PcdMaximumDevicePathNodeCount = _PCD_VALUE_PcdMaximumDevicePathNodeCount
 
BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderRtRelocAllowTargetMismatch = FALSE
 
BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderHashProhibitOverlap = TRUE
 
BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderLoadHeader = TRUE
 
BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderDebugSupport = TRUE
 
BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderAllowMisalignedOffset = FALSE
 
BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderRemoveXForWX = TRUE
 
BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderWXorX = TRUE
 
UINT32 _gPcd_FixedAtBuild_PcdImageLoaderAlignmentPolicy = 0xFFFFFFFF
 
UINT32 _gPcd_FixedAtBuild_PcdImageLoaderRelocTypePolicy = 0x00
 
BOOLEAN _gPcd_FeatureFlag_PcdFatReadOnlyMode = _PCD_VALUE_PcdFatReadOnlyMode
 
UINT32 _gPcd_BinaryPatch_PcdSerialRegisterStride = 0
 
UINT8 _gPcd_FixedAtBuild_PcdUefiImageFormatSupportNonFv = 0x02
 
UINT8 _gPcd_FixedAtBuild_PcdUefiImageFormatSupportFv = 0x03
 
UINT32 _gPcd_FixedAtBuild_PcdImageProtectionPolicy = 0x07
 

Detailed Description

Copyright (c) 2020, PMheart. All rights reserved. SPDX-License-Identifier: BSD-3-Clause

Definition in file UserPcd.c.

Macro Definition Documentation

◆ _PCD_VALUE_PcdCpuNumberOfReservedVariableMtrrs

#define _PCD_VALUE_PcdCpuNumberOfReservedVariableMtrrs   0x2U

Definition at line 23 of file UserPcd.c.

◆ _PCD_VALUE_PcdDebugClearMemoryValue

#define _PCD_VALUE_PcdDebugClearMemoryValue   0xAFU

Definition at line 16 of file UserPcd.c.

◆ _PCD_VALUE_PcdDebugPrintErrorLevel

#define _PCD_VALUE_PcdDebugPrintErrorLevel   0x80000002U

Definition at line 18 of file UserPcd.c.

◆ _PCD_VALUE_PcdDebugPropertyMask

#define _PCD_VALUE_PcdDebugPropertyMask
Value:
(\
DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED \
| DEBUG_PROPERTY_DEBUG_PRINT_ENABLED \
| DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED )

Definition at line 11 of file UserPcd.c.

◆ _PCD_VALUE_PcdDebugRaisePropertyMask

#define _PCD_VALUE_PcdDebugRaisePropertyMask   0U

Can use e.g. DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED.

Definition at line 15 of file UserPcd.c.

◆ _PCD_VALUE_PcdFatReadOnlyMode

#define _PCD_VALUE_PcdFatReadOnlyMode   ((BOOLEAN)1U)

Definition at line 25 of file UserPcd.c.

◆ _PCD_VALUE_PcdFixedDebugPrintErrorLevel

#define _PCD_VALUE_PcdFixedDebugPrintErrorLevel   0x80000002U

Definition at line 17 of file UserPcd.c.

◆ _PCD_VALUE_PcdMaximumAsciiStringLength

#define _PCD_VALUE_PcdMaximumAsciiStringLength   0U

Definition at line 19 of file UserPcd.c.

◆ _PCD_VALUE_PcdMaximumDevicePathNodeCount

#define _PCD_VALUE_PcdMaximumDevicePathNodeCount   0U

Definition at line 24 of file UserPcd.c.

◆ _PCD_VALUE_PcdMaximumLinkedListLength

#define _PCD_VALUE_PcdMaximumLinkedListLength   1000000U

Definition at line 21 of file UserPcd.c.

◆ _PCD_VALUE_PcdMaximumUnicodeStringLength

#define _PCD_VALUE_PcdMaximumUnicodeStringLength   1000000U

Definition at line 20 of file UserPcd.c.

◆ _PCD_VALUE_PcdUefiLibMaxPrintBufferSize

#define _PCD_VALUE_PcdUefiLibMaxPrintBufferSize   320U

Definition at line 9 of file UserPcd.c.

◆ _PCD_VALUE_PcdUgaConsumeSupport

#define _PCD_VALUE_PcdUgaConsumeSupport   ((BOOLEAN)1U)

Definition at line 10 of file UserPcd.c.

◆ _PCD_VALUE_PcdVerifyNodeInList

#define _PCD_VALUE_PcdVerifyNodeInList   ((BOOLEAN)0U)

Definition at line 22 of file UserPcd.c.

Variable Documentation

◆ _gPcd_BinaryPatch_PcdSerialRegisterStride

UINT32 _gPcd_BinaryPatch_PcdSerialRegisterStride = 0

Definition at line 50 of file UserPcd.c.

◆ _gPcd_FeatureFlag_PcdFatReadOnlyMode

BOOLEAN _gPcd_FeatureFlag_PcdFatReadOnlyMode = _PCD_VALUE_PcdFatReadOnlyMode

Definition at line 49 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdCpuNumberOfReservedVariableMtrrs

UINT32 _gPcd_FixedAtBuild_PcdCpuNumberOfReservedVariableMtrrs = _PCD_VALUE_PcdCpuNumberOfReservedVariableMtrrs

Definition at line 38 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdDebugClearMemoryValue

UINT8 _gPcd_FixedAtBuild_PcdDebugClearMemoryValue = _PCD_VALUE_PcdDebugClearMemoryValue

Definition at line 31 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdDebugPrintErrorLevel

UINT32 _gPcd_FixedAtBuild_PcdDebugPrintErrorLevel = _PCD_VALUE_PcdDebugPrintErrorLevel

Definition at line 33 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdDebugPropertyMask

UINT8 _gPcd_FixedAtBuild_PcdDebugPropertyMask = _PCD_VALUE_PcdDebugPropertyMask

Definition at line 29 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdDebugRaisePropertyMask

UINT8 _gPcd_FixedAtBuild_PcdDebugRaisePropertyMask = _PCD_VALUE_PcdDebugRaisePropertyMask

Definition at line 30 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdFixedDebugPrintErrorLevel

UINT32 _gPcd_FixedAtBuild_PcdFixedDebugPrintErrorLevel = _PCD_VALUE_PcdFixedDebugPrintErrorLevel

Definition at line 32 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderAlignmentPolicy

UINT32 _gPcd_FixedAtBuild_PcdImageLoaderAlignmentPolicy = 0xFFFFFFFF

Definition at line 47 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderAllowMisalignedOffset

BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderAllowMisalignedOffset = FALSE

Definition at line 44 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderDebugSupport

BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderDebugSupport = TRUE

Definition at line 43 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderHashProhibitOverlap

BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderHashProhibitOverlap = TRUE

Definition at line 41 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderLoadHeader

BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderLoadHeader = TRUE

Definition at line 42 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderRelocTypePolicy

UINT32 _gPcd_FixedAtBuild_PcdImageLoaderRelocTypePolicy = 0x00

Definition at line 48 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderRemoveXForWX

BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderRemoveXForWX = TRUE

Definition at line 45 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderRtRelocAllowTargetMismatch

BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderRtRelocAllowTargetMismatch = FALSE

Definition at line 40 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageLoaderWXorX

BOOLEAN _gPcd_FixedAtBuild_PcdImageLoaderWXorX = TRUE

Definition at line 46 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdImageProtectionPolicy

UINT32 _gPcd_FixedAtBuild_PcdImageProtectionPolicy = 0x07

Definition at line 53 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdMaximumAsciiStringLength

UINT32 _gPcd_FixedAtBuild_PcdMaximumAsciiStringLength = _PCD_VALUE_PcdMaximumAsciiStringLength

Definition at line 34 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdMaximumDevicePathNodeCount

UINT32 _gPcd_FixedAtBuild_PcdMaximumDevicePathNodeCount = _PCD_VALUE_PcdMaximumDevicePathNodeCount

Definition at line 39 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdMaximumLinkedListLength

UINT32 _gPcd_FixedAtBuild_PcdMaximumLinkedListLength = _PCD_VALUE_PcdMaximumLinkedListLength

Definition at line 36 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdMaximumUnicodeStringLength

UINT32 _gPcd_FixedAtBuild_PcdMaximumUnicodeStringLength = _PCD_VALUE_PcdMaximumUnicodeStringLength

Definition at line 35 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdUefiImageFormatSupportFv

UINT8 _gPcd_FixedAtBuild_PcdUefiImageFormatSupportFv = 0x03

Definition at line 52 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdUefiImageFormatSupportNonFv

UINT8 _gPcd_FixedAtBuild_PcdUefiImageFormatSupportNonFv = 0x02

Definition at line 51 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdUefiLibMaxPrintBufferSize

UINT32 _gPcd_FixedAtBuild_PcdUefiLibMaxPrintBufferSize = _PCD_VALUE_PcdUefiLibMaxPrintBufferSize

Definition at line 27 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdUgaConsumeSupport

BOOLEAN _gPcd_FixedAtBuild_PcdUgaConsumeSupport = _PCD_VALUE_PcdUgaConsumeSupport

Definition at line 28 of file UserPcd.c.

◆ _gPcd_FixedAtBuild_PcdVerifyNodeInList

BOOLEAN _gPcd_FixedAtBuild_PcdVerifyNodeInList = _PCD_VALUE_PcdVerifyNodeInList

Definition at line 37 of file UserPcd.c.