A reason why you do not see this ASSERT when TARGET=RELEASE is because ASSERT 
is probably disabled for RELEASE build.

 

Check you DSC file to see if gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask has 
a different value for DEBUG/RELEASE.

 

Example:

# DEBUG_ASSERT_ENABLED 0x01

# DEBUG_PRINT_ENABLED 0x02

# DEBUG_CODE_ENABLED 0x04

# CLEAR_MEMORY_ENABLED 0x08

# ASSERT_BREAKPOINT_ENABLED 0x10

# ASSERT_DEADLOOP_ENABLED 0x20

!if $(TARGET) == RELEASE

gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21

!else

gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f

!endif

 

Source: 
https://github.com/tianocore/edk2/blob/master/ArmPlatformPkg/ArmPlatformPkg.dsc#L275

 

 

 

From: Narinder Dhillon [mailto:[email protected]] 
Sent: 17 November 2014 17:59
To: [email protected]
Subject: [edk2] ASSERT with TARGET=DEBUG

 

Hi All,

 

When I enable TARGET=DEBUG in Makefile, I get the following assert but not when 
TARGET=RELEASE. PcdMaximumLinkedListLength is default value.

Any idea why ?

Thanx,

 

 

ASSERT 
/nfs/causers2/ndhillon/workdir/sdk/bootloader/edk2/MdePkg/Library/BaseLib/LinkedList.c(109):
 Count < _gPcd_FixedAtBuild_PcdMaximumLinkedListLength

 

 

 
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to