Re: [edk2] Bug in TerminalDxe UnicodeFiFoRemoveOneKey()

2014-02-11 Thread Alexei Fedorov
Hi Elvin, I've checked Terminal.h, TerminalConIn.c files & they both still contain "@retval FLASE" typos. Alexei. >Date: Tue, 11 Feb 2014 00:17:11 + >From: "Li, Elvin" mailto:elvin...@intel.com>> >Subject: Re: [edk2] Bug in TerminalDxe UnicodeFiFoRemoveOneKey() function >To: "edk2-deve

Re: [edk2] [PATCH] MdeModulePkg/DxeCore: Fixed CoreExitBootServices - Interrupt disabling (critical defect)

2014-02-11 Thread Olivier Martin
It is a real issue. And I use 'common' ReportStatusCodeLib implementations - so you should have the same issue: ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.i

Re: [edk2] [PATCH] MdeModulePkg/DxeCore: Fixed CoreExitBootServices - Interrupt disabling (critical defect)

2014-02-11 Thread Gao, Liming
Martin: I go through code. But, I don't find which code trig it. Could you highlight it? ExitBootServices() REPORT_STATUS_CODE() --> ReportStatusCode() --> InternalReportStatusCode() --> (*mReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data); IntelFrameworkModulePkg Stat

Re: [edk2] [PATCH v5 03/19] OvmfPkg QemuFwCfgLib: determine if S3 support is explicitly enabled

2014-02-11 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > From: Laszlo Ersek > > Such a packaged query function will come in handy in the following > patches. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Laszlo Ersek > Reviewed-by: Jordan Justen > [jordan.l.jus...@intel.com: ch

Re: [edk2] [PATCH] MdeModulePkg/DiskIo: Introduced 'PcdDiskIoDataBufferBlockNum'

2014-02-11 Thread Olivier Martin
Thanks Mike for the feedback, I attached the new version. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] Sent: 10 February 2014 21:22 To: edk2-devel@lists.sourceforge.net; Tian, Feng Subjec

Re: [edk2] have any of you guys ever worked with option roms?

2014-02-11 Thread Richardson, Brian
They’ll be loaded as UEFI Drivers, so use the ‘drivers’ command the UEFI Shell. Thanks ... br --- Brian Richardson -- brian.richard...@intel.com -- Twitter: intel_brian From: John Davis [mailto:davi...@gmail.com] Sent: Monday, February 10, 2014 7:55 PM To: Richardson, Brian; edk2-devel@lists.sour

[edk2] [PATCH] OvmfPkg: Fix VS2005 compiler warnings

2014-02-11 Thread Jordan Justen
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen --- OvmfPkg/Library/LoadLinuxLib/Linux.c| 4 ++-- OvmfPkg/PlatformPei/MemDetect.c | 2 +- OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c | 3 ++- OvmfPkg/Virti

[edk2] [PATCH 1/2] ArmPkg CRLF fixup.

2014-02-11 Thread Leif Lindholm
The result of 'find . -type f -exec unix2dos {} \;'. Affects only one file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm --- ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ArmPkg/Li

[edk2] [PATCH 2/2] ArmPlatformPkg CRLF fixup.

2014-02-11 Thread Leif Lindholm
The result of 'find . -type f -exec unix2dos {} \;'. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm --- .../Scripts/uefi-aarch64-bootstrap/LICENSE.TXT | 56 +-- .../Scripts/uefi-aarch64-bootstrap/Makefile| 192 +- .../Scripts/uefi-aarc

[edk2] ShellPkg: Fix uninitialized Variable error

2014-02-11 Thread Carsey, Jaben
Erik, Can you review this patch? ShellPkg: Fix uninitialized Variable error Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey Shell.c.patch Description: Shell.c.patch -- Android apps

Re: [edk2] ShellPkg: Fix uninitialized Variable error

2014-02-11 Thread Bjorge, Erik C
Reviewed-by: Erik Bjorge From: Carsey, Jaben Sent: Tuesday, February 11, 2014 3:35 PM To: Bjorge, Erik C Cc: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Fix uninitialized Variable error Erik, Can you review this patch? ShellPkg: Fix uninitialized Variable error Contribu

[edk2] ShellPkg: Fix changing to file system with 2 colons like "fs0::"

2014-02-11 Thread Carsey, Jaben
Erik, Can you review this patch? ShellPkg: Fix changing to file system with 2 colons like "fs0::" Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey mailto:jaben.car...@intel.com>> Shell.c.patch Description: Shell.c.patch --

Re: [edk2] [PATCH] OvmfPkg: Fix VS2005 compiler warnings

2014-02-11 Thread Laszlo Ersek
comments below On 02/11/14 18:16, Jordan Justen wrote: > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jordan Justen > --- > OvmfPkg/Library/LoadLinuxLib/Linux.c| 4 ++-- > OvmfPkg/PlatformPei/MemDetect.c | 2 +- > OvmfPkg/Qe

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

2014-02-11 Thread Carsey, Jaben
Olivier All but 0006 look good. I believe that 0006 violates the shell specification. I do not believe that the nesting is optional. I would support changing the spec to eliminate the red highlight and then we can leave launching a nested shell as an implementation choice. I agree that this

Re: [edk2] ShellPkg: Fix changing to file system with 2 colons like "fs0::"

2014-02-11 Thread Tim Lewis
It looks like this tries to use UnicodeCollation instead of UnicodeCollation2. Did I read this wrong? Tim From: Carsey, Jaben [mailto:jaben.car...@intel.com] Sent: Tuesday, February 11, 2014 3:38 PM To: Bjorge, Erik C Cc: edk2-devel@lists.sourceforge.net Subject: [edk2] ShellPkg: Fix changing to

Re: [edk2] ShellPkg: Fix changing to file system with 2 colons like "fs0::"

2014-02-11 Thread Bjorge, Erik C
Reviewed-by: Erik Bjorge From: Carsey, Jaben Sent: Tuesday, February 11, 2014 3:38 PM To: Bjorge, Erik C Cc: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Fix changing to file system with 2 colons like "fs0::" Erik, Can you review this patch? ShellPkg: Fix changing to file

Re: [edk2] ShellPkg: Fix changing to file system with 2 colons like "fs0::"

2014-02-11 Thread Carsey, Jaben
Tim, I don't see anything like that. It changes the "if" block to require that the last character in the string be a colon, and that the first colon in the string must be the last character in the string. No Unicode collation at all... -Jaben From: Tim Lewis [mailto:tim.le...@insyde.com] Sen

Re: [edk2] ShellPkg: Fix changing to file system with 2 colons like "fs0::"

2014-02-11 Thread Tim Lewis
Sorry, I think it is 15220. It also looks like gUnicodeCollation is already initialized at this point (from UefiShellCommandLib) Tim From: Carsey, Jaben [mailto:jaben.car...@intel.com] Sent: Tuesday, February 11, 2014 3:59 PM To: edk2-devel@lists.sourceforge.net; Bjorge, Erik C Subject: Re: [edk

Re: [edk2] ShellPkg: Fix changing to file system with 2 colons like "fs0::"

2014-02-11 Thread Carsey, Jaben
Ah. Yes. I think that implementation would be better to use the pre-initialized variable from the library. I didn't notice that wasn't done in the patch that was submitted to me. -Jaben From: Tim Lewis [mailto:tim.le...@insyde.com] Sent: Tuesday, February 11, 2014 4:02 PM To: edk2-devel@list

Re: [edk2] [PATCH] OvmfPkg: Fix VS2005 compiler warnings

2014-02-11 Thread Jordan Justen
r-b with your suggestions adopted? On Tue, Feb 11, 2014 at 3:42 PM, Laszlo Ersek wrote: > comments below > > On 02/11/14 18:16, Jordan Justen wrote: >> Contributed-under: TianoCore Contribution Agreement 1.0 >> Signed-off-by: Jordan Justen >> --- >> OvmfPkg/Library/LoadLinuxLib/Linux.c

[edk2] can you use the emulator with dmem in the rom region?

2014-02-11 Thread John Davis
Hello Can you use the emulator to dump memory associated with roms? For instance, dmem fff3c9e8 is a region where I believe I have a rom mapped, but that command will crash the emulator. -- John F. Davis 6 Kandes Court Durham, NC 27713 919-888-8358 独树一帜

[edk2] ShellPkg: refactor elimination of non-replaced environment variables

2014-02-11 Thread Carsey, Jaben
Erik, Can you review? ShellPkg: refactor elimination of non-replaced environment variables This changes how non-replaced environment variables are found and eliminated from the command line. This new method makes sure that the found environment variables are not using escaped characters and th

[edk2] Sanity checking boot paths

2014-02-11 Thread Bill Paul
So, while working on my UEFI OS loader, I managed to brick a couple of machines. I recovered all but one of them so far (sadly that one is my personal tablet -- there may yet be a way to save it but I'm holding off on it until I'm better prepared for the attempt). I want people to be able to se

Re: [edk2] [PATCH] OvmfPkg: Fix VS2005 compiler warnings

2014-02-11 Thread Kinney, Michael D
This may be a cleaner style for these types of issue. Instead of !!, compare the result of the integer result against 0. *MediaPresent = (BOOLEAN) ((LinkStatus & VIRTIO_NET_S_LINK_UP) != 0); Mike -Original Message- From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Tuesday, February

Re: [edk2] [PATCH] MdeModulePkg/DiskIo: Introduced 'PcdDiskIoDataBufferBlockNum'

2014-02-11 Thread Tian, Feng
Hi, Olivier You need tell me why you need expose this parameter? What's your intention & use case? Thanks Feng From: Olivier Martin [mailto:olivier.mar...@arm.com] Sent: Tuesday, February 11, 2014 22:50 To: edk2-devel@lists.sourceforge.net; Tian, Feng Subject: RE: [edk2] [PATCH] MdeModulePkg/Di

Re: [edk2] [PATCH] MdeModulePkg/DiskIo: Introduced 'PcdDiskIoDataBufferBlockNum'

2014-02-11 Thread Olivier Martin
Hi Feng, we need this change to run UEFI on a platform that has a limited amount of system memory. Otherwise, we must change the source files to be able to run UEFI. Thanks, Olivier From: Tian, Feng [feng.t...@intel.com] Sent: 12 February 2014 00:59 To: Ol

Re: [edk2] [PATCH] MdeModulePkg/DiskIo: Introduced 'PcdDiskIoDataBufferBlockNum'

2014-02-11 Thread Tian, Feng
Get your point. It makes sense. Thanks for explanation. I found you put the pcd definition at [PcdsFixedAtBuild] section. I would suggest you put it to [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] section. Reviewed-by: Tian, Feng -Original Message- From: Olivi

Re: [edk2] Bug in TerminalDxe UnicodeFiFoRemoveOneKey()

2014-02-11 Thread Li, Elvin
To clean typo issue is check into 15227. From: Alexei Fedorov [mailto:alexei.fedo...@arm.com] Sent: Tuesday, February 11, 2014 5:37 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Bug in TerminalDxe UnicodeFiFoRemoveOneKey() Hi Elvin, I've checked Terminal.h, TerminalConIn.c files &

Re: [edk2] Sanity checking boot paths

2014-02-11 Thread Andrew Fish
Bill, The User Interface is not defined in EFI, so it is an implementation detail, so there is not a generic answer to this. In general there are hot keys to enter setup, and hot keys to clear “CMOS” which should also clear the EFI Variables on a modern system. You will need to find the mapp

Re: [edk2] can you use the emulator with dmem in the rom region?

2014-02-11 Thread Andrew Fish
On Feb 11, 2014, at 4:34 PM, John Davis wrote: > Hello > > Can you use the emulator to dump memory associated with roms? > The “emulator” is not a VM. If you want to assume magic addresses and hardware exist you need to run the OVFM, as it runs in a VM. The “emulator” is an OS application w

Re: [edk2] can you use the emulator with dmem in the rom region?

2014-02-11 Thread John Davis
I guess I am confused. I don't have the files handy but I thought the entire fv would be loaded at the top of memory. I'll post more detail tomorrow morning. On Feb 11, 2014 6:06 PM, "Andrew Fish" wrote: > > On Feb 11, 2014, at 4:34 PM, John Davis wrote: > > > Hello > > > > Can you use the emula

Re: [edk2] [PATCH] OvmfPkg: Fix VS2005 compiler warnings

2014-02-11 Thread Scott Duplichan
Laszlo Ersek [mailto:ler...@redhat.com] wrote: [...] ]>Dev->BlockIoMedia.LogicalPartition = FALSE; ]> - Dev->BlockIoMedia.ReadOnly = !!(Features & VIRTIO_BLK_F_RO); ]> - Dev->BlockIoMedia.WriteCaching = !!(Features & VIRTIO_BLK_F_FLUSH); ]> + Dev->BlockIoMedia.ReadOnly

Re: [edk2] [PATCH] OvmfPkg: Fix VS2005 compiler warnings

2014-02-11 Thread Laszlo Ersek
On 02/12/14 06:33, Scott Duplichan wrote: > Laszlo Ersek [mailto:ler...@redhat.com] wrote: > > [...] > > ]>Dev->BlockIoMedia.LogicalPartition = FALSE; > ]> - Dev->BlockIoMedia.ReadOnly = !!(Features & VIRTIO_BLK_F_RO); > ]> - Dev->BlockIoMedia.WriteCaching = !!(Features & VIRTIO

Re: [edk2] [PATCH] OvmfPkg: Fix VS2005 compiler warnings

2014-02-11 Thread Laszlo Ersek
On 02/12/14 01:14, Jordan Justen wrote: > r-b with your suggestions adopted? Please ask Mike & Scott to review this one. I'd do more harm than good right now :/ I should likely hold off reviewing the S3 thing too, for a few days. Sorry Laszlo