[edk2] [PATCH] Remove unused ConfigureMmu() function.

2013-08-30 Thread Roy Franz
The ConfigureMmu() function is unused - the only call to it is commented out, and the functionality has been moved to InitMmu() in MemoryInitPeiLib.c. Signed-off-by: Roy Franz Contributed-under: TianoCore Contribution Agreement 1.0 --- ArmPkg/Drivers/CpuPei/CpuPei.c | 68 -

Re: [edk2] [PATCH] comment copy/paste fix

2013-08-30 Thread Roy Franz
On Fri, Aug 23, 2013 at 10:59 AM, Olivier Martin wrote: > Thanks Roy for the contribution. > > It looks good to me, but I can only accept patches if submitted under the > 'TianoCore Contribution Agreement 1.0'. > Have a look at the code contribution process: > https://sourceforge.net/apps/mediawik

Re: [edk2] [Qemu-devel] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 19:39, Jordan Justen ha scritto: >> However, if you guys can figure out a patch for >> > UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm so that it builds >> > the page tables in RAM (and removing the page table Python code), that >> > would also work. > That path is not quite how

Re: [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Jordan Justen
On Fri, Aug 30, 2013 at 5:42 AM, Paolo Bonzini wrote: > Il 30/08/2013 14:10, Gleb Natapov ha scritto: >> On Fri, Aug 30, 2013 at 01:58:59PM +0200, Paolo Bonzini wrote: >>> Il 30/08/2013 11:37, Laszlo Ersek ha scritto: Disclaimer: I don't know what I'm talking about. >>> >>> No problem. :) >>>

Re: [edk2] [Qemu-devel] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Jordan Justen
On Fri, Aug 30, 2013 at 11:44 AM, Paolo Bonzini wrote: > Il 30/08/2013 19:39, Jordan Justen ha scritto: >>> However, if you guys can figure out a patch for >>> > UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm so that it builds >>> > the page tables in RAM (and removing the page table Python c

Re: [edk2] [Qemu-devel] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Jordan Justen
On Fri, Aug 30, 2013 at 4:58 AM, Paolo Bonzini wrote: > However, if you guys can figure out a patch for > UefiCpuPkg/ResetVector/Vtf0/Ia32/Flat32ToFlat64.asm so that it builds > the page tables in RAM (and removing the page table Python code), that > would also work. That path is not quite how it

Re: [edk2] stdlib: using open() to opendir() ?

2013-08-30 Thread Mcdaniel, Daryl
Correct. StdLib attempts to use the "everything is a file" paradigm, like Unix and other Operating Systems do. Daryl McDaniel   "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -- Bja

Re: [edk2] MNP PaddingSize Question

2013-08-30 Thread Andrew Fish
On Aug 30, 2013, at 8:59 AM, "Kinney, Michael D" wrote: > Eugene, > > It seems a bit odd to move an optimization like this into the higher levels > of the I/O stacks. This looks like a system architecture issue that could > affect other I/O subsystems other than just networking. > > Fro

Re: [edk2] Look for a particular PCI device

2013-08-30 Thread Andrew Fish
On Aug 30, 2013, at 2:48 AM, "David F." wrote: > Hi, > > Can someone point me to where under UEFI I can look up to see if the > system contains a specific PCI device (by pci vendor id, pci device > id, subsystem id, etc..) > There is a shell command that does what you want https://svn.code.

Re: [edk2] stdlib: eficdefs.h file addition

2013-08-30 Thread Mcdaniel, Daryl
MdePkg/Include/Base.h is automatically included (the first include) for every .c file. ..Assuming that you are using the EDK II build system. This is also what brings in the processor-specific defines. It should not be necessary to explicitly include Base.h anywhere. Daryl McDaniel   "I have a

Re: [edk2] stdlib: printf resets errno

2013-08-30 Thread Mcdaniel, Daryl
Thank you for reporting this. I will add it to the list of ISSUES and explore an appropriate fix. Daryl McDaniel   "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -- Bjarne Stoustrup

Re: [edk2] [PATCH] ShellBinPkg: Add AArch64 Binaries

2013-08-30 Thread Olivier Martin
Any comments on this one? From: Olivier Martin [mailto:olivier.mar...@arm.com] Sent: 14 August 2013 18:15 To: Carsey, Jaben Cc: edk2-devel@lists.sourceforge.net Subject: [PATCH] ShellBinPkg: Add AArch64 Binaries Dear ShellBinPkg maintainer, Please find the attached patch and binaries t

[edk2] [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-08-30 Thread Paolo Bonzini
Page tables in a read-only memory slot will currently cause a triple fault because the page walker uses gfn_to_hva and it fails on such a slot. OVMF uses such a page table; however, real hardware seems to be fine with that as long as the accessed/dirty bits are set. Save whether the slot is reado

Re: [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 14:10, Gleb Natapov ha scritto: > On Fri, Aug 30, 2013 at 01:58:59PM +0200, Paolo Bonzini wrote: >> Il 30/08/2013 11:37, Laszlo Ersek ha scritto: >>> Disclaimer: I don't know what I'm talking about. >> >> No problem. :) >> >>> So, Jordan's patch for OVMF (SVN r14494) builds the page t

Re: [edk2] Bios to UEFI migration doubt

2013-08-30 Thread Rafael Machado
Thanks a lot for all this information everyone. This gave some light to guide my presentation to the client. Rafael R. Machado 2013/8/29 Andrew Fish > > On Aug 29, 2013, at 9:55 AM, David Woodhouse wrote: > > >> > >> Then there are problems with getting the hardware into the correct > >> stat

Re: [edk2] [Qemu-devel] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Paolo Bonzini
Il 30/08/2013 11:37, Laszlo Ersek ha scritto: > Disclaimer: I don't know what I'm talking about. No problem. :) > So, Jordan's patch for OVMF (SVN r14494) builds the page tables (and > finally writes the root to CR3) in a phase when paging is not enabled > yet in the VM. > > Again, I have no clu

Re: [edk2] [PATCH] MdePkg//BaseLib: Add Memory fence for AArch64

2013-08-30 Thread Olivier Martin
Here is the patch that adds MemoryFence() support to ARM and AARCH64 architecture. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin From: Gao, Liming [mailto:liming@intel.com] Sent: 30 August 2013 02:08 To: Olivier Martin; Kinney, Michael D Cc: ed

Re: [edk2] [PATCH] comment copy/paste fix

2013-08-30 Thread Olivier Martin
Hi Grant, I do not think there is any legal link between the UEFI Forum and the Tianocore project (an Open Source implementation of the UEFI spec). And actually the 'UEFI' term is not written at all in the Contribution Agreement: https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Contributions.t

Re: [edk2] [PATCH] comment copy/paste fix

2013-08-30 Thread Grant Likely
On Fri, 23 Aug 2013 18:59:51 +0100, "Olivier Martin" wrote: > Thanks Roy for the contribution. > > It looks good to me, but I can only accept patches if submitted under the > 'TianoCore Contribution Agreement 1.0'. > Have a look at the code contribution process: > https://sourceforge.net/apps/me

Re: [edk2] MNP PaddingSize Question

2013-08-30 Thread Cohen, Eugene
Siyuan, I haven’t heard back -- I am considering submitting a patch for #1 -- a PCD that selects either “frame aligned” or “payload aligned”. Before I go to the effort of creating that patch, I wanted to check with you to see if this approach would be acceptable or if you had other ideas. Eu

[edk2] Look for a particular PCI device

2013-08-30 Thread David F.
Hi, Can someone point me to where under UEFI I can look up to see if the system contains a specific PCI device (by pci vendor id, pci device id, subsystem id, etc..) TIA!! -- Learn the latest--Visual Studio 2012, SharePo

Re: [edk2] [Qemu-devel] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Laszlo Ersek
On 08/30/13 05:28, Gary Ching-Pang Lin wrote: > On Fri, Aug 30, 2013 at 02:04:40AM +1000, Bruce Rogers wrote: >> >>> On 8/29/2013 at 02:23 AM, Gary Ching-Pang Lin wrote: >>> On Wed, Aug 28, 2013 at 02:55:26PM +0200, Andreas Färber wrote: Am 28.08.2013 14:10, schrieb Laszlo Ersek: > On 0

Re: [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Gary Ching-Pang Lin
On Fri, Aug 30, 2013 at 11:10:26AM +0200, Laszlo Ersek wrote: > On 08/30/13 05:34, Gary Ching-Pang Lin wrote: > > On Thu, Aug 29, 2013 at 11:16:34PM +0200, Laszlo Ersek wrote: > >> On 08/28/13 12:35, Gary Ching-Pang Lin wrote: > >>> Hi, > >>> > >>> I recently updated qemu to 1.6.0 and found OVMF ju

Re: [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Laszlo Ersek
On 08/30/13 05:34, Gary Ching-Pang Lin wrote: > On Thu, Aug 29, 2013 at 11:16:34PM +0200, Laszlo Ersek wrote: >> On 08/28/13 12:35, Gary Ching-Pang Lin wrote: >>> Hi, >>> >>> I recently updated qemu to 1.6.0 and found OVMF just showed a blank >>> screen when kvm was enabled. I tried to dump OVMF lo