Re: [edk2] Sync BaseTools Trunk (version r2669) to EDKII main trunk

2014-06-19 Thread Gao, Liming
Laszlo: Yes. This patch fixes it. To let it work, you also need to configure GCC:*_*_*_ASLPP_FLAGS to include AutoGen.h in Platform DSC file. The default GCC ASLPP Flags in tools_def.txt is the below, which has no '-include AutoGen.h'. But, PCD definition is generated in AutoGen.h. DEFINE

[edk2] Building on OS X

2014-06-19 Thread egon
Hey guys, I’m having some issues building OVMF on OS X 10.9 with the latest dev tools. I’m running Xcode 5.1.1, with the “Late June” Command Line Tools. $ clang --version Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix Issue #

Re: [edk2] Building on OS X

2014-06-19 Thread Andrew Fish
On Jun 19, 2014, at 11:58 AM, e...@ragequ.it wrote: > Hey guys, > > I’m having some issues building OVMF on OS X 10.9 with the latest dev tools. > I’m running Xcode 5.1.1, with the “Late June” Command Line Tools. > > $ clang --version > Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.

[edk2] [PATCH] PcAtChipsetPkg: Enable timer interrupt through I/O APIC

2014-06-19 Thread Tycho Nightingale
Hi, Please review the following patch which brings the code inline with the preceding comment and actually performs the enable of the HPET timer interrupt through the I/O APIC. Thanks. Tycho PcAtChipsetPkg: Enable timer interrupt through I/O APIC Contributed-under: TianoCore Contribution Ag

Re: [edk2] Building on OS X

2014-06-19 Thread Reza Jelveh
On 19/06/14 13:59, Andrew Fish wrote: > > On Jun 19, 2014, at 11:58 AM, e...@ragequ.it wrote: > > > I changed the `retf` to a `ret` to get it to assemble for now. > > > > That looks right. I think it should be ret. i'm pretty certain this should be lret. Basically either the osx assembler shoul

Re: [edk2] Building on OS X

2014-06-19 Thread Andrew Fish
On Jun 19, 2014, at 2:39 PM, Reza Jelveh wrote: > On 19/06/14 13:59, Andrew Fish wrote: >> >> On Jun 19, 2014, at 11:58 AM, e...@ragequ.it wrote: >> >>> I changed the `retf` to a `ret` to get it to assemble for now. >>> >> >> That looks right. I think it should be ret. > i'm pretty certain t

Re: [edk2] Building on OS X

2014-06-19 Thread Reza Jelveh
On 19/06/14 14:51, Andrew Fish wrote: > Well the code looked like this? So I assumed they did not mean iret > .byte 0x48 # prefix to composite "retq" with next "retf" > retf # far return > DoIret: > iretq i'm not sure what you mean ... retf is lret

Re: [edk2] Building on OS X

2014-06-19 Thread Andrew Fish
On Jun 19, 2014, at 3:06 PM, Reza Jelveh wrote: > On 19/06/14 14:51, Andrew Fish wrote: >> Well the code looked like this? So I assumed they did not mean iret >>.byte 0x48 # prefix to composite "retq" with next "retf" >>retf # far return >> DoIret: >>

Re: [edk2] Building on OS X

2014-06-19 Thread Andrew Fish
On Jun 19, 2014, at 2:51 PM, Andrew Fish wrote: > > On Jun 19, 2014, at 2:39 PM, Reza Jelveh wrote: > >> On 19/06/14 13:59, Andrew Fish wrote: >>> >>> On Jun 19, 2014, at 11:58 AM, e...@ragequ.it wrote: >>> I changed the `retf` to a `ret` to get it to assemble for now. >>> >>> T

Re: [edk2] Sync BaseTools Trunk (version r2669) to EDKII main trunk

2014-06-19 Thread Gao, Liming
Jordan: Now, we have a request to do this sync. We need to do it soon. So, I don't expect it depend on BaseTools merge. Thanks Liming -Original Message- From: Jordan Justen [mailto:jljus...@gmail.com] Sent: Thursday, June 19, 2014 6:19 AM To: Gao, Liming Cc: edk2-devel@lists.sourceforg

[edk2] Is it just me or is tianocore.org completely missing the useful front page?

2014-06-19 Thread Tim Lewis
-- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for

[edk2] cannot load smm drivers symbol when enable source level debug through com port

2014-06-19 Thread owen
Dear all, I enable source level debug through com port with UDK codebase, It can load DXE and BDS drivers symbol, but cannot load SMM drivers symbol. But it can report SMM drivers status code, and it can stop with cpubreakpoint() under SMM drivers. Does it need some special setting with SMM

Re: [edk2] [PATCH] PcAtChipsetPkg: Enable timer interrupt through I/O APIC

2014-06-19 Thread Li, Elvin
Hi Tycho, IoApicEnableInterrupt (mTimerIrq, TRUE) was wrongly removed at revision 12778, which caused HPET timer could not work when PcdHpetMsiEnable is set to FALSE. Thanks for finding this bug. I have verified the fix which worked well. I am going to check in the fix.

Re: [edk2] Building on OS X

2014-06-19 Thread Fan, Jeff
Hi Andrew, LRET should be used to pass more GCC compilers build. I also agree with using relative address instead of absolute address in assembly code. Hi, Egon Could you try this attached patch to check if it could pass your compiler build? Thanks! Jeff From: Andrew Fish [mailto:af...@apple.com

Re: [edk2] Is it just me or is tianocore.org completely missing the useful front page?

2014-06-19 Thread Jordan Justen
It seems like the sourceforge mediawiki service is not working right now. It looks like it is affecting other projects too, including some of sourceforge's own web pages. -Jordan On Thu, Jun 19, 2014 at 6:26 PM, Tim Lewis wrote: > > > > --

Re: [edk2] Building on OS X

2014-06-19 Thread egon
Hey guys, Thanks for the tips. On 20 Jun 2014, at 8:49 am, Andrew Fish wrote: > > On Jun 19, 2014, at 2:51 PM, Andrew Fish wrote: > >> >> On Jun 19, 2014, at 2:39 PM, Reza Jelveh wrote: >> >>> On 19/06/14 13:59, Andrew Fish wrote: On Jun 19, 2014, at 11:58 AM, e...@ragequ.it wr

Re: [edk2] Building on OS X

2014-06-19 Thread egon
Hi Jeff, After applying the patch the `lret` assembles fine, but I get the same error for the relocation: Building ... /Users/x/code/ext/edk2/MdeModulePkg/Core/Dxe/DxeMain.inf [X64] "ld" -arch x86_64 -u __ModuleEntryPoint -e __ModuleEntryPoint -preload -segalign 0x20 -pie -all_load -dead_strip