[edk2] OvmfPkg compiled error

2012-09-04 Thread nicolas
hi, experts: OvmfPkg compiled error: ... ... Architecture(s) = IA32 X64 Build target = DEBUG Toolchain= VS2008 Active Platform = e:\edkii\OvmfPkg\OvmfPkgIa32X64.dsc Flash Image Definition = e:\edkii\OvmfPkg\OvmfPkgIa32X64.fdf Processing meta-data . Build... e:\edkii\OvmfPkg\

Re: [edk2] [PATCH v2 0/6] OvmfPkg: PMBA fixes

2012-09-04 Thread Jordan Justen
Series: Reviewed-by: Jordan Justen On Tue, Sep 4, 2012 at 8:00 AM, Laszlo Ersek wrote: > When testing a Windows 8 Consumer Preview guest (Build 8250, installer > ISO sha1: 8966AA4696B9DE2559FB123FDC7DC29E9B547782), the guest OS > sometimes hung shortly after (re-)boot; during installation or > o

Re: [edk2] Bitwise and operator in VFR file

2012-09-04 Thread Dong, Eric
Sajeesh.K.K, Because the ideqval opcode not support bitwiseand nest in it, so vfrcompiler reports this error. You can use the following expression to meet your request: suppressif (get(NVData.mybitmap) & 0x1) == 0x0; Thanks, Eric From: sajeesh KK [mailto:sajee...@gmail.com] Sent: Tuesday, Septem

Re: [edk2] linux booting on ARM using SD-MMC card

2012-09-04 Thread Olivier Martin
Hi Shiva, One solution would be to have a Boot Manager that supports the driver load option (look for Driver in the UEFI spec). FYI, ArmPlatformPkg/Bds does not support it yet ... It is planned to support it but it is a low pritority in my very long TODO list ... Feel free to add support

Re: [edk2] fOpen calls within an efi application fail or hang

2012-09-04 Thread Mcdaniel, Daryl
Hello, There are two possible causes for the behavior you are seeing. 1. The file system driver is not loaded. Please make sure that DevShell is listed in the [LibraryClasses] section of your application's .inf file. 2. The current working directory is not on the disk partition you

[edk2] fOpen calls within an efi application fail or hang

2012-09-04 Thread Bhavana Brar
Hi, I've modified the HelloWorld application to use the standard file I/O calls ( fopen_s ) to read an existing file ( "test.txt) and print out its contents. The txt file exists in the same partition and location as the HelloWorld .efi app ( \EFI|BOOT). I added prints before and after the fo

[edk2] [PATCH v2 4/6] OvmfPkg: use PCI_COMMAND_OFFSET/EFI_PCI_COMMAND_IO_SPACE in AcpiTimerLib

2012-09-04 Thread Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c b/OvmfPkg/Library/AcpiTimerLib/AcpiTimerL

[edk2] [PATCH v2 6/6] OvmfPkg: key PMBA setup in Platform PEI off of PMREGMISC/PMIOSE, not Xen

2012-09-04 Thread Laszlo Ersek
This matches the logic in AcpiTimerLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- OvmfPkg/PlatformPei/Platform.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/Platfor

[edk2] [PATCH v2 3/6] OvmfPkg: fix the mask for accessing the PIIX4 PMBA [15:6] bitfield

2012-09-04 Thread Laszlo Ersek
The Index Register Base Address bitfield is selected by the binary mask 1100, 0xFFC0; fix the typo. Found by Gleb Natapov . Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c |2

[edk2] [PATCH v2 1/6] OvmfPkg: assorted whitespace removal

2012-09-04 Thread Laszlo Ersek
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c |4 ++-- OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf |5 ++--- OvmfPkg/OvmfPkg.dec |3 +-- 3 files changed, 5 insertions(+

[edk2] [PATCH v2 5/6] OvmfPkg: enable PIIX4 IO space in the PEI phase

2012-09-04 Thread Laszlo Ersek
I. There are at least three locations in OvmfPkg that manipulate the PMBA and related PIIX4 registers. 1. MiscInitialization() [OvmfPkg/PlatformPei/Platform.c] module type: PEIM -- Pre-EFI Initialization Module (a) currently sets the PMBA only: 00.01.3 / 0x40 bits [15:6] 2. AcpiTimerLibCons

[edk2] [PATCH v2 2/6] OvmfPkg: extract the PBMA used in AcpiTimerLib into a PCD

2012-09-04 Thread Laszlo Ersek
v1->v2: - rename PcdPowerManagementBaseAddress to PcdAcpiPmBaseAddress Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c |5 - OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.inf |4 OvmfPkg/OvmfPkg.d

[edk2] [PATCH v2 0/6] OvmfPkg: PMBA fixes

2012-09-04 Thread Laszlo Ersek
When testing a Windows 8 Consumer Preview guest (Build 8250, installer ISO sha1: 8966AA4696B9DE2559FB123FDC7DC29E9B547782), the guest OS sometimes hung shortly after (re-)boot; during installation or otherwise. Gleb Natapov analyzed the guest's activity with ftrace [1] and determined that the PMBA

[edk2] Bitwise and operator in VFR file

2012-09-04 Thread sajeesh KK
Hello All, I have a question regarding the use of bitwiseand operator in suppressif statement. Basically i have a bitmap in the NVConfig structure. I need to selectively suppress some of the options to the user based on this bitmap. I have something similar to this. "suppressif ideqval NVData.