[edk2] [PATCH] BaseTools: accept 'amd64' as an alias for 'x86_64'

2014-02-14 Thread Ed Maste
On FreeBSD uname -a reports 'amd64' for the 64-bit x86 architecture. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ed Maste --- BaseTools/Source/C/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/S

Re: [edk2] FreeBSD EDKII/OVMF write-up

2014-02-14 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 06:17:34 on Friday 14 February 2014 and say: > On 02/14/14 00:58, Bill Paul wrote: > > Of all the gin joints in all the towns in all the world, Bill Paul had to > > walk > > > > into mine at 15:58:11 o

Re: [edk2] [PATCH v5 00/19] S3 suspend/resume for OVMF

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:16, Jordan Justen wrote: > v5 of Laszlo's S3 series > > v5: > * The FV restructure sub-set of v4 was committed >to the tree, so it is now gone in v5 > * This version now should not break Xen's >normal boot path. (But, Xen will not support >S3 resume until we add a path

Re: [edk2] [PATCH v5 19/19] OvmfPkg: Add DebugAgentLib for Library class mapping for DXE_DRIVER

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > This is needed for BootScriptExecutorDxe. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jordan Justen > --- > OvmfPkg/OvmfPkgIa32.dsc| 5 - > OvmfPkg/OvmfPkgIa32X64.dsc | 5 - > OvmfPkg/OvmfPkgX64.dsc | 5 ++

Re: [edk2] [PATCH v5 14/19] OvmfPkg: S3 Suspend: save ACPI context

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > From: Laszlo Ersek > > "OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf" (originally: > "IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf") > produces the EFI_ACPI_S3_SAVE_PROTOCOL. > > When found, this protocol is automatically invoked by

Re: [edk2] [PATCH v5 12/19] OvmfPkg: implement LockBoxLib

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > From: Laszlo Ersek > > The S3 suspend/resume infrastructure depends on the LockBox library class. > The edk2 tree currently contains Null and SMM instances. The Null instance > is useless, and the SMM instance would require SMM emulation by including > th

Re: [edk2] [PATCH v5 10/19] OvmfPkg/PlatformPei: Allocate PEI FV as ACPI NVS if S3 is supported

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > On S3 resume, we skip decompression of the PEI FV, and expect > to jump directly into it. For this to work, we need the OS to > leave the memory range untouched. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jordan Justen >

Re: [edk2] [PATCH v5 09/19] OvmfPkg: PlatformPei: reserve early page tables on X64

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > From: Laszlo Ersek > > On X64, the reset vector code in > "OvmfPkg/ResetVector/Ia32/PageTables64.asm" identity maps the first 4GB of > RAM for PEI, consuming six frames starting at 8MB. > > This range is declared by the PcdOvmfSecPageTablesBase/Size PCDs

Re: [edk2] [PATCH v5 08/19] OvmfPkg: PlatformPei: reserve SEC/PEI temp RAM for S3 resume

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > From: Laszlo Ersek > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Laszlo Ersek > [jordan.l.jus...@intel.com: move to MemDetect.c; use PCDs] > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jordan Ju

Re: [edk2] [PATCH v5 06/19] OvmfPkg/PlatformPei: Skip various items for S3 resume

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > We will not be running DXE on S3 resume, so we don't > need to do these initialization items: > * Reserve EMU Variable memory range > * Declare Firmware volumes > * Add memory HOBs > > v5: > * Move MiscInitialization back to running on S3 resume > > C

Re: [edk2] [PATCH v5 05/19] OvmfPkg: Add section of memory to use for PEI on S3 resume

2014-02-14 Thread Laszlo Ersek
On 02/08/14 00:17, Jordan Justen wrote: > This 32k section of RAM will be declared to the PEI Core on > S3 resume to allow memory allocations during S3 resume PEI. > > If the boot mode is BOOT_ON_S3_RESUME, then we publish > the pre-reserved PcdS3AcpiReservedMemory range to PEI. > > If the boot m

Re: [edk2] FreeBSD EDKII/OVMF write-up

2014-02-14 Thread Laszlo Ersek
On 02/14/14 00:58, Bill Paul wrote: > Of all the gin joints in all the towns in all the world, Bill Paul had to > walk > into mine at 15:58:11 on Thursday 13 February 2014 and say: > >> In case there are any other interested parties out there, I put up a quick >> description of how I set up the

[edk2] IOAPIC "C" Source Code for QUARK

2014-02-14 Thread Stojsavljevic, Zoran
Hello to the list, I am new to this mailing list, and I would like to ask some questions about QUARK EDK2 Open Source code, regarding LAPIC (Local APIC) and IOAPIC (IO -general APIC). As I have learned, when writing the internal to the CPU INT timer, I can do it two ways (maybe more than two,