Re: [edk2] interrupt handler example

2014-01-24 Thread Toto Lebolo
Thank you very much! On Friday, January 24, 2014 4:43 PM, Andrew Fish wrote: On Jan 24, 2014, at 4:25 PM, Toto Lebolo wrote: Hello team, > >I am looking for an example of a UEFI shell program that has an exception >handler. > > >More specifically I am interested in hooking up a routine

Re: [edk2] interrupt handler example

2014-01-24 Thread Andrew Fish
On Jan 24, 2014, at 4:25 PM, Toto Lebolo wrote: > Hello team, > I am looking for an example of a UEFI shell program that has an exception > handler. > > More specifically I am interested in hooking up a routine on top of the CMCI > (Corrected machine-check error interrupt) on an x86 platfrom

[edk2] interrupt handler example

2014-01-24 Thread Toto Lebolo
Hello team, I am looking for an example of a UEFI shell program that has an exception handler. More specifically I am interested in hooking up a routine on top of the CMCI (Corrected machine-check error interrupt) on an x86 platfrom (Haswell).  Any example using Interrupt, NMI, SMI, err[0] wil

Re: [edk2] [PATCH] Various fixes for the EFI Shell

2014-01-24 Thread Carsey, Jaben
I have added reviewed-by lines under the patches approved. Go ahead and check them in. Some of them have comments / concerns... From: Olivier Martin [mailto:olivier.mar...@arm.com] Sent: Friday, January 24, 2014 11:07 AM To: Carsey, Jaben Cc: edk2-devel@lists.sourceforge.net; Brendan Jackman Su

Re: [edk2] ShellPkg: Refactor Print logic out of main loop function

2014-01-24 Thread Bjorge, Erik C
Reviewed-by: Erik Bjorge From: Carsey, Jaben Sent: Friday, January 24, 2014 10:49 AM To: Bjorge, Erik C Cc: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Refactor Print logic out of main loop function Erik, Can you review? Might be easier via apply and view the diff. the c

[edk2] ShellPkg: Refactor Print logic out of main loop function

2014-01-24 Thread Carsey, Jaben
Erik, Can you review? Might be easier via apply and view the diff. the code really was moved, nothing was really created for this patch. ShellPkg: Refactor Print logic out of main loop function This has no change in the behavior of the LS command, but it removes the printing logic from the ma

Re: [edk2] DMA memory regions and device behavior

2014-01-24 Thread Kinney, Michael D
Stephen, A memory stress test can only be run on memory regions that are allocated using AllocatePages() or AllocatePool(). Drivers that use DMA will allocate memory for the DMA buffers. Those buffers show up in the EFI Memory Map through the GetMemoryMap() API as allocated regions. Best reg

[edk2] DMA memory regions and device behavior

2014-01-24 Thread Stephen Polkowski
UEFI gurus, Does UEFI have an api for querying the DMA regions in the memory system? I would like to know where they are. I need to write a memory stress test shell application. The application will need to read/write all the DRAM with patterns. I am worried that it will hit a us

Re: [edk2] [PATCH] Fix AARCH64 page table entry filling overrun

2014-01-24 Thread Olivier Martin
Thanks Garrett for the contribution, I submitted your fix in svn rev 15177. Olivier From: Kirkendall, Garrett [mailto:garrett.kirkend...@amd.com] Sent: 15 January 2014 21:54 To: edk2-devel@lists.sourceforge.net Subject: [edk2] [PATCH] Fix AARCH64 page table entry filling overrun Please co

Re: [edk2] [virtio-comment] virtio-blk vs. caching on FVP Base

2014-01-24 Thread Cohen, Eugene
Agreed -- making the area uncached outright is not the preferred solution. For drivers that don't use a bus protocol like PCI_IO, you can use the edk2 DmaLib ( https://svn.code.sf.net/p/edk2/code/trunk/edk2/EmbeddedPkg/Include/Library/DmaLib.h ) which provides functions for mapping buffers whi

Re: [edk2] edk2/edksetup.sh patch to solve command line parameter

2014-01-24 Thread Parmeshwr_Prasad
Hi Liming, See below two example- 1- param@param-opensource:~/Development/edk2$ source edksetup.sh -h- Loading previous configuration from $WORKSPACE/Conf/BuildEnv.sh WORKSPACE: /home/param/Development/edk2 EDK_TOOLS_PATH: /home/param/Development/edk2/BaseTools In above example edksetup.s

Re: [edk2] edk2/edksetup.sh patch to solve command line parameter

2014-01-24 Thread Gao, Liming
Hi, I have two comments. 1. BaseTools parameter is required to be supported for compatibility, because this usage is mentioned in EDKII_UserManual.pdf document. Some users have used it. In fact, ". edksetup.sh BaseTools" is same to ". edksetup.sh". 2. In below script, BaseTools/Bu

[edk2] Sync BaseTools Trunk (version r2649) to EDKII main trunk

2014-01-24 Thread Gao, Liming
Hi, all I will sync BaseTool trunk (version r2649) into EDKII BaseTools. The version used by EDK2 is 2640. The changes include: 1. Fixed memcpy issue in VfrCompiler 2. Fix CRLF format in source files. 3. Update Tools_def.template for ARM tool chain. BaseTool Trunk: