Hi List,

I am experiencing a Data Abort inside function 'GetSectionFromAnyFv' in file 
'DxeServicesLib.c'
on my ARMv7 UEFI platform.

To debug the same I added some print messages like:

/* Added for debugging */
  CHAR8                         Buffer1[100];
  UINTN                         CharCount;
  CharCount = AsciiSPrint (Buffer1,sizeof (Buffer1),"Inside Func\n\r");
  SerialPortWrite ((UINT8 *) Buffer1, CharCount);


And also something like: 
  SerialPrint ("Inside Func\n\r");

I have included:
#include <Library/PrintLib.h>
#include <Library/SerialPortLib.h>

and defined:

#define SerialPrint(txt)  SerialPortWrite ((UINT8*)(txt), AsciiStrLen(txt)+1);

I still cannot see any debug prints on the UART (placed right after the entry 
point of 'GetSectionFromAnyFv' function).
Debugger (DS-5) suggests that the crash is inside 'GetSectionFromAnyFv' itself.

I get the UEFI firmware <version xx built at xx on xx) and Data Abort Exception 
PC at xx prints on the console, but
no prints from 'DxeServicesLib.c'

Any pointers to what I may be missing here.

Regards,
Bhupesh



------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to