Re: [edk2] Identify IDE devices and device information in UEFI

2013-09-21 Thread Murali Selvaraj
Hi Feng, Thanks for your information. I have found one more similar kind of implementation to identify ATA/ATAPI devices in UEFI. IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe Ata.c Atapi.c ComponentName.c ComponentName.h DriverConfiguration.c DriverDiagnostics.c Ide.c Ide.h IdeBus.c IdeBus.h IdeB

Re: [edk2] BaseTools compilation error

2013-09-21 Thread Sergey Isakov
Hi, it is Clang that more carefully checks for error. -- > VfrSyntax.cpp:56:3: warning: control reaches end of non-void function --- Yes, because the function must return value, for example INT32 errstd (char *Text) { printf ("unrecognized input '%s'\n", Text);

Re: [edk2] BaseTools compilation error

2013-09-21 Thread Gao, Liming
Hi, I don't find such issue on GCC44 and GCC45. Do you modify BaseTools Compiler option? Or you use the different GCC version? Thanks Liming From: Sergey Isakov [mailto:[email protected]] Sent: Saturday, September 21, 2013 4:49 PM To: [email protected] Subject: Re: [edk2] BaseToo

Re: [edk2] [PATCH] EdkShellPkg: Add Aarch64 support

2013-09-21 Thread Ni, Ruiyu
Olivier, Reviewed-by: Ruiyu Ni Please remember to update the EdkShellPkg/ReadMe.txt when checking in. Thanks, Ray From: Olivier Martin [mailto:[email protected]] Sent: Friday, September 20, 2013 4:28 AM To: Ni, Ruiyu Cc: [email protected] Subject: [PATCH] EdkShellPkg: Add A

Re: [edk2] Identify IDE devices and device information in UEFI

2013-09-21 Thread Tian, Feng
Selvaraj, I don't think you need write such driver again as it has been existing for a long time. Please refer MdeModulePkg/Bus/Ata/AtaAtapiPassThru driver. Thanks Feng -Original Message- From: Murali Selvaraj [mailto:[email protected]] Sent: Saturday, September 21, 2013

Re: [edk2] Access PCI Express to SCSI controller

2013-09-21 Thread Tian, Feng
You need implement/produce EXT_SCSI_PASS_THRU at your driver. Then upper layer driver, such as ScsiBus driver, could consume it and produce SCSI_IO for all attached devices. As for how to enumerate device at physical layer, it depends on your SCSI CONTROLLER's implementation. I suppose it shoul

Re: [edk2] [PATCH 0/6] OvmfPkg: Fix KVM boot issue with QEMU 1.6 and no-EPT support

2013-09-21 Thread Laszlo Ersek
On 09/22/13 01:52, Jordan Justen wrote: > On Sat, Sep 21, 2013 at 8:08 AM, Laszlo Ersek wrote: >> For what it's worth, I committed the attached patch on top of this >> series. This accelerates the OVMF startup on SVM to be on par with the >> VMX experience. However, I'm not sure if it's *safe* to

Re: [edk2] [PATCH 0/6] OvmfPkg: Fix KVM boot issue with QEMU 1.6 and no-EPT support

2013-09-21 Thread Jordan Justen
On Sat, Sep 21, 2013 at 8:08 AM, Laszlo Ersek wrote: > On 09/18/13 13:19, Laszlo Ersek wrote: >> Rod, >> >> On 09/18/13 01:24, Jordan Justen wrote: >>> QEMU 1.6 enables using KVM READONLY memory regions. There >>> appears to be a bug when page tables are stored in the >>> READONLY memory region. T

Re: [edk2] Access network directory using UEFI Shell

2013-09-21 Thread Rafael Machado
In this scenario I already have a system with an IP, setted up using the ifconfig command, and this system is able to send pings successfully Thanks Rafael R. Machado -- LIMITED TIME SALE - Full Year of Microsoft Training

[edk2] Access network directory using UEFI Shell

2013-09-21 Thread Rafael Machado
Hi everyone. Is there a way to access an FTP directory or shared directory within UEFI shell ? Do I need to develop my own application to do this or is there any set off commands that can be executed on a given sequence to do this ? Thanks Rafael R. Machado ---

[edk2] Problem to Compile AppPkg PythonCore

2013-09-21 Thread Rafael Machado
*Hi everyone* ** *I'm trying to do some tests with the Python interpreter but I'm having some problems.* ** *The first error I had was this:* build... c:\udk2010sr1\AppPkg\Applications\Python\PythonCore.inf(49): error 000E: File/di rectory not found in workspace c:\udk2010sr1\AppPkg\Applic

Re: [edk2] [PATCH 0/6] OvmfPkg: Fix KVM boot issue with QEMU 1.6 and no-EPT support

2013-09-21 Thread Laszlo Ersek
On 09/18/13 13:19, Laszlo Ersek wrote: > Rod, > > On 09/18/13 01:24, Jordan Justen wrote: >> QEMU 1.6 enables using KVM READONLY memory regions. There >> appears to be a bug when page tables are stored in the >> READONLY memory region. To work-around this, we create >> page table entries in RAM. Si

Re: [edk2] [PATCH] OvmfPkg: EFI handover flags are in Bp->hdr.xloadflags

2013-09-21 Thread Jordan Justen
Reviewed-by: Jordan Justen It looks like David's "Take 2" patch had this, so I somehow lost it. -Jordan On Fri, Sep 20, 2013 at 6:36 AM, Matt Fleming wrote: > From: Matt Fleming > > LoadLinux() is looking at the wrong field for the kernel's EFI handover > protocol flags. It's not currently po

Re: [edk2] BaseTools compilation error

2013-09-21 Thread Sergey Isakov
Next -- g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ VfrSyntax.cpp -o VfrSyntax.o VfrSyntax.cpp:56:3: warning: control reaches end of non-void function [-Wreturn-type

Re: [edk2] BaseTools compilation error

2013-09-21 Thread Sergey Isakov
In addition, what to do here? -- gcc -c -MD -fshort-wchar -fno-strict-aliasing -nostdlib -Wall -Werror -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ LzmaCompress.c -o LzmaCompress.o LzmaCompress.c:46:48: e

[edk2] BaseTools compilation error

2013-09-21 Thread Sergey Isakov
Dear sirs, Please consider - make -C GenVtf gcc -c -MD -fshort-wchar -fno-strict-aliasing -nostdlib -Wall -Werror -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ GenVtf.c -o GenVtf.o GenVtf.c:1725:20

Re: [edk2] [PATCH] OvmfPkg: resolve TpmMeasurementLib dependency introduced in r14687

2013-09-21 Thread Jordan Justen
On Thu, Sep 19, 2013 at 5:47 AM, Laszlo Ersek wrote: > (1) OVMF depends on > > MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf > > unconditionally. > > (2) When OVMF is built with -D SECURE_BOOT_ENABLE, then > > SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf