Definitions
This Doc will introduce all definitions available in
Defines.dsc.inc
HAS_MLVM
- Type
- Boolean
- Why define it ?
- Some devices have MLVM region, some do not.
- If the device has MLVM enabled, MLVM regions will be protected, and they'll be un-readable and un-writeable.
- What happened when 1?
- If
HAS_MLVM = TRUE
, the MLVM regions will be reserved, so HLOS will not use this region. - Total RAM size will decrease about 400MB.
- If
- Where used it ?
HAS_MLVM
is used inPlatforms/SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/ExtendedMemoryMap.h
.
CUST_PLATFORM_PRE_PI_LIB
Deprecated
This definition and codes are removed.
Please use DualBoot Patcher build dual boot kernel.
- Type
- Boolean
- Why define it ?
- Some device may want to customized
IsLinuxBootRequested()
function in Library/PlatformPrePiLib/PlatformUtils.c - The
IsLinuxBootRequested()
function is used to judge the direction where to boot.- return
TRUE
- boot to Android
- return
FALSE
- boot to UEFI
- return
- Some device may want to customized
- What happened when 1?
- The build-system will try to find PlatformPrePiLib under
Device/$(brand-codename)/Library/PlatformPrePiLib/
- The build-system will try to find PlatformPrePiLib under
- Where used it ?
CUST_PLATFORM_PRE_PI_LIB
is used inPlatforms/SurfaceDuoFamilyPkg/SurfaceDuoFamily.dsc.inc
- Line: 395
CUST_LOGO
- Type
- Boolean
- Why define it ?
- Some Device may want it's own logo. (i.e. Brand's Logo)
- What happened when 1?
- The Boot Logo will be replaced with the one under
Device/$(brand-codename)/Include/Resources/CustBootLogo.bmp
- The Boot Logo will be replaced with the one under
- Where used it ?
CUST_LOGO
is used inPlatforms/SurfaceDuoFamilyPkg/Frontpage.fdf.inc