Re: [edk2] Question about LGPL and UEFI

2013-04-10 Thread LUSETTI Jean
Hi all, I would like to know if it is possible to publish some UEFI related code under LPGL license. AFAIK, edk2 is BSD but what would it be possible to include LGPL code? Thanks, Jean Lusetti Software Architect eBanking Gemalto Tel: +33 (0)4 42 36 54 83 Fax: +33 (0)4 42 36 62 98 Avenue du Pic d

Re: [edk2] csm issues

2013-04-10 Thread Rafael Machado
Hi Andrew. Your e-mail really clarified several things. We'll fix our allocation methods. Thanks a lot for the help. Att. Rafael R. Machado 2013/4/9 Andrew Fish > > On Apr 9, 2013, at 12:15 PM, Rafael Machado < > rafaelrodrigues.mach...@gmail.com> wrote: > > The only point I imagine is that t

Re: [edk2] Question about LGPL and UEFI

2013-04-10 Thread Andrew Fish
Jean, Usually companies have rules about using, contributing, and releasing open source software that are put in place to protect intellectual property and copyright. So my generic answer is check with your internal experts The edk2 uses the BDS 2-Clause License (Also called Simplified BSD

[edk2] Status of PCD usage in VFR and ASL?

2013-04-10 Thread Tim Lewis
What is the status of usage of FeatureFlag and FixedAtBuild PCDs in the current EDK2 code base? Tim -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform inc

Re: [edk2] Feedback on UDK2010.SR1.UP1 How-to-build page

2013-04-10 Thread Jarlstrom, Laurie
Mark, Thank you for your thorough comments on the how-to-build notes page. https://sourceforge.net/apps/mediawiki/tianocore/index.php?title=UDK2010.SR1.UP1_How-to-Build We will try to make improvements in the future. Some of the confusion is the complication of making instructions that will fit ma

Re: [edk2] using gdb on OVMF with symbols

2013-04-10 Thread Duane Voth
On Tue, Apr 9, 2013 at 10:20 PM, Joe Vernaci wrote: > Thanks for making a new title it'll be easier to track... > > Andrew is right those have not changed in quite a long time and even if > they did since GdbSyms builds against current headers it won't matter. > > > Gcc builds the .dll files as a

Re: [edk2] OVMF networking revisited

2013-04-10 Thread Duane Voth
Ok, while qemu emulation is not stopped, periodic samples of 0xb008 (using the qemu cmd "i/w 0xb008") do indeed return running timer-like values. AcpiTimerLibConstructor() runs in 32bit mode and uses 0xb0nn values, but at the point of my hang the cpu is in 64bit mode and is reading from 0x0408 ins

Re: [edk2] using gdb on OVMF with symbols

2013-04-10 Thread Andrew Fish
Duane, You can place CpuBreakpoint (); (it is a member of the BaseLib) in your code and cause a break into GDB. Andrew Fish On Apr 10, 2013, at 3:12 PM, Duane Voth wrote: > On Tue, Apr 9, 2013 at 10:20 PM, Joe Vernaci wrote: > Thanks for making a new title it'll be easier to track... > >

Re: [edk2] OVMF networking revisited

2013-04-10 Thread Laszlo Ersek
On 04/11/13 00:14, Duane Voth wrote: > Ok, while qemu emulation is not stopped, periodic samples of 0xb008 > (using the qemu cmd "i/w 0xb008") do indeed return running timer-like > values. > > AcpiTimerLibConstructor() runs in 32bit mode How is that possible? AFAIR you have an X64 build. > and u

Re: [edk2] OVMF networking revisited

2013-04-10 Thread Kinney, Michael D
Is there any chance you have pulled in the TscTimerLib from the PerformancePkg into the X64 part of your build? If you have, then you need to set the following PCD to 0xB000 too. Its default value is 0x400. gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress Mike From: Duane Voth

Re: [edk2] Status of PCD usage in VFR and ASL?

2013-04-10 Thread Andrew Fish
On Apr 10, 2013, at 10:00 AM, Tim Lewis wrote: > What is the status of usage of FeatureFlag and FixedAtBuild PCDs in the > current EDK2 code base? I don't know of any work going on in this area, but I could give you some hints I think the first problem you will run into is the macros are

Re: [edk2] using gdb on OVMF with symbols

2013-04-10 Thread Andrei E. Warkentin
Hiya guys, Sorry for being late. Duane had emailed me privately as well, but I just hadn't gotten around to it all yet... Anyway. Interesting about the .debug files. Something must have changed - couple of years back during the first Xen GSoC it all worked fine with the .dll files. Feel free to

Re: [edk2] Status of PCD usage in VFR and ASL?

2013-04-10 Thread Andrew Fish
Tim, If you want to experiment with this new feature I think the following patch will create a _PCD_VALUE_DECIMAL_* #define that could be used in VFR, ASL, and assembly. So you will get something like this #define _PCD_VALUE_DECIMAL_PcdName 1234 For FixedAtBuild and FeatureFlag PCD entries.