Re: [edk2] [PATCH] Avoid "variable set but not used" warning from GCC.

2015-07-10 Thread Bill Paul
s #include ? Anyway, as I said before, my primary rationale for doing the change the way I did was that when fixing something I prefer doing it with the smallest code change possible, and in that case that was just sticking in a (VOID) cast. Had I chosen to remove the variable entirely, I probably

Re: [edk2] [PATCH] Avoid "variable set but not used" warning from GCC.

2015-07-10 Thread Bill Paul
tree, with fully documented examples and/or b) include a script to generate the submissions that prompts the user to enter all required fields. Be aware too that not every project uses the exact same rules for patch submissions, so don't be surprised if new (or infrequent) contributors can&

[edk2] [PATCH] Avoid "variable set but not used" warning from GCC.

2015-07-09 Thread Bill Paul
x27;s true that the value read into FileReserved is never used, but this is intentional. This patch adds a do-nothing reference to silence the warning. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bill Paul --- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 1 + 1

Re: [edk2] [PATCH] BaseTools/GCC: allow unused but set variables

2015-07-09 Thread Bill Paul
since the reserved field is not actually used the compiler complains. I got around the warning by doing this: [...] FileSize = QemuFwCfgRead32 (); FileSelect = QemuFwCfgRead16 (); FileReserved = QemuFwCfgRead16 (); (void)FileReserved; /* Force a do-nothing reference. */ InternalQem

Re: [edk2] [PATCH] BaseTools/GCC: allow unused but set variables

2015-07-08 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Bruce Cran had to walk into mine at 14:43:23 on Wednesday 08 July 2015 and say: > On Wed, Jul 08, 2015 at 11:15:44AM -0700, Bill Paul wrote: > > Lastly, yesterday I actually spent some time updating the > > mingw-gcc-buil

Re: [edk2] [PATCH] BaseTools/GCC: allow unused but set variables

2015-07-08 Thread Bill Paul
aliasing -Wall -Werror -Wno-array-]bounds -c -include > > AutoGen.h -Wno-error=unused-but-set-variable ] DEFINE GCC_IA32_CC_FLAGS > > = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks > > -freorder-]blocks-and-partition -O2 -mno-stack-arg-probe ] DEFINE > > GCC_X64_CC_FLAGS= DEF(GCC_ALL_C

Re: [edk2] Qestion about how to debug OVMF on QEMU

2015-07-06 Thread Bill Paul
27;ve missed it > > occasionally.) > > Yup. Just browse to a file (in Diffusion) then click “Enable Blame” on the > right-hand side - see http://bluestop.org/edk2/GitBlamePhab.png > <http://bluestop.org/edk2/GitBlamePhab.png> for an example. > > — > Bruce -- ==

Re: [edk2] Query UEFI : PCIE Driver for Armv8 platform

2015-06-02 Thread Bill Paul
ot; used in this code? > > Kindly help in clearing these doubts. > > Regards, > Shaveta > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and

Re: [edk2] Phy support

2015-05-26 Thread Bill Paul
__ > > <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > ___> edk2-devel mailing list > > edk2-devel@lists.sourceforge.net > > <mailto:edk2-devel@lists.sourceforge.net> > > https://lists.sourceforge.ne

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Bill Paul
However, the reference code also use OpenSSL internally. It's possible that a commercial vendor might use their own crypto library that has additional functionality. I don't know if anyone bothers though. In my testing, I have used certificates that were self-signed. OVMF seems happy w

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 13:10:32 on Tuesday 17 March 2015 and say: > On 03/17/15 20:42, Bill Paul wrote: > > Of all the gin joints in all the towns in all the world, Laszlo Ersek had > > to > > > >

Re: [edk2] Adding public public keys to OVMF II

2015-03-17 Thread Bill Paul
ware development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > ___ > ed

Re: [edk2] Latest OVMF vs. QEMU 2.2.0 and PXE boot

2015-01-16 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 16:56:36 on Thursday 15 January 2015 and say: > On 01/16/15 00:05, Bill Paul wrote: > > I just today did a fresh svn checkout of the EDK2 sources and built a > > new set of OVMF bin

[edk2] Latest OVMF vs. QEMU 2.2.0 and PXE boot

2015-01-15 Thread Bill Paul
ut I'd like to understand what's going on. -Bill -- = -Bill Paul(510) 749-2329 | Senior Member of Technical Staff, wp...@windriver.c

Re: [edk2] [PATCH 000/345] Convert EDK II core packages to NASM for IA32/X64

2014-11-07 Thread Bill Paul
ould be unpacked in the EDK build environment and compiled there. Since I wanted people to be able to build on Windows (or in fact any of the supported EDK host platforms), I created MASM versions of the assembly code too. If EDK switches to using NASM, doesn't that mean I have to convert

Re: [edk2] [UefiCpuPkg] how did this ever work.

2014-08-08 Thread Bill Paul
ext); > // > // Release Spinlock of output message > // > ReleaseSpinLock (&mDisplayMessageSpinLock); > // > // Enter a dead loop if needn't to execute old IDT handler further > // > if (mReservedVectors[ExceptionType].Attribute != >

Re: [edk2] [PATCH] Fix GCC44 build failure in OVMF platform

2014-06-26 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 13:01:37 on Tuesday 24 June 2014 and say: > On 06/24/14 20:11, Bill Paul wrote: > > There are actually 5 places in FwBlockService.c where FwhInstance isn't > > initialized. >

Re: [edk2] [PATCH] Fix GCC44 build failure in OVMF platform

2014-06-24 Thread Bill Paul
ot entirely sure what is, and I'm not about to get into a protracted discussion over it. Somebody with a better understanding of the FwBlockService.c code should submit a patch instead. -Bill -- = -Bill Paul(510) 749-2329 | Senior Member

Re: [edk2] Load ASM code in memory

2014-06-11 Thread Bill Paul
're not going to contribute it for inclusion in EDKII) and your project mandates a specific set of compiler tools, then I suppose there's nothing to stop you from using your chosen compiler's embedded assembly syntax to include the code in your C files. -Bill --

Re: [edk2] Crash in qemu + OVMF after a call to DEBUG()

2014-05-16 Thread Bill Paul
his may help you: http://people.freebsd.org/~wpaul/edk2 > I will try again with the current svn repository. > > gnu-efi is packaged by Debian so much easier to use for me. > > Thanks You can't use gnu-efi to build OVMF. :/ -Bill -- ==

Re: [edk2] proposal to handle invalid compiler warnings

2014-03-24 Thread Bill Paul
n is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > ___ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/lis

Re: [edk2] Success!

2014-03-11 Thread Bill Paul
oot variables at start-up, which duplicates the OVMF behavior. -Bill -- ===== -Bill Paul(510) 749-2329 | Senior Member of Technical Staff, wp...@windriver.com | Master of Unix-Fu - Wind River Systems ===

[edk2] Success!

2014-03-10 Thread Bill Paul
2012. My option ROM hack was effective at un-wedging that one too. -Bill -- = -Bill Paul(510) 749-2329 | Senior Member of Technical Staff, wp...@windriver.com | Master of Unix-Fu - Win

Re: [edk2] PCI OpROM driver

2014-03-07 Thread Bill Paul
-- > > - > > > > > Subversion Kills Productivity. Get off Subversion & Make the Move to > > > > Perforce. > > > > > With Perforce, you get hassle-free workflows. Merge that actually >

Re: [edk2] Question about firmware startup order of events

2014-03-06 Thread Bill Paul
ed fine. The only issue now is connecting the 82574L NIC to the tablet. For that I plan to order one of these: http://www.amazon.com/KZ-B24-PCI-Express-to-MiniCard-Extender/dp/B00B2C21PM I need to get one of these things anyway since we've started getting eval boards for VxWorks develop

Re: [edk2] Question about firmware startup order of events

2014-03-06 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Andrew Fish had to walk into mine at 18:02:30 on Wednesday 05 March 2014 and say: > On Mar 5, 2014, at 5:53 PM, Bill Paul wrote: > > Of all the gin joints in all the towns in all the world, Carsey, Jaben > > had to > >

Re: [edk2] Question about firmware startup order of events

2014-03-05 Thread Bill Paul
with gBS->SetVariable(). (That's what got me into this mess in the first place.) -Bill > -Jaben > > -Original Message- > From: Bill Paul [mailto:wp...@windriver.com] > Sent: Wednesday, March 05, 2014 5:12 PM > To: edk2-devel@lists.sourceforge.net > Subject: [e

[edk2] Question about firmware startup order of events

2014-03-05 Thread Bill Paul
o I want to check before I end up spending money for nothing. -Bill -- ===== -Bill Paul(510) 749-2329 | Senior Member of Technical Staff, wp...@windriver.com | Master o

Re: [edk2] PAE Support on UEFI

2014-03-03 Thread Bill Paul
> edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel -- = -Bill Paul(510) 749-2329

Re: [edk2] Locating a file in the file system

2014-02-26 Thread Bill Paul
the UEFI specification itself. It describes all the supported boot services and runtime services. Anything not described in the spec is a library function provided by the EDK itself. -Bill -- = -Bill Paul(510) 749-2329 | Senior Member of Technical Staff,

Re: [edk2] DevicePathToStr

2014-02-25 Thread Bill Paul
\DEBUG\WinNtSimpleFileSystemDxe.lib and object > 2\Build\NT32IA32\DEBUG_VS2010x86\IA32\Nt32Pkg\WinNtSimpleFileSystemDxe\WinN > tSimpleFileSystemDxe\DEBUG\WinNtSimpleFileSystemDxe.exp Generating code > 1 file(s) copied. > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Micro

Re: [edk2] DevicePathToStr

2014-02-25 Thread Bill Paul
n I was able to include in my code and use DevicePathToStr() without any issue. -Bill -- = -Bill Paul(510) 749-2329 | Senior Member of Technical Staff, wp...@windriver.com | Master of Unix-Fu - Wind River Systems

Re: [edk2] BdsDxe: about always regenerating a bunch of boot options

2014-02-21 Thread Bill Paul
ng the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktr > k ___ > edk2-d

Re: [edk2] hello world application sample and beyond

2014-02-21 Thread Bill Paul
ge to inherit the include paths specified my MdePkg.dec. -Bill -- ===== -Bill Paul(510) 749-2329 | Senior Member of Technical Staff, wp...@windriver.com | Master of Unix-Fu - Wind River Systems =

Re: [edk2] Does the EDK2 have a assembly code application example?

2014-02-19 Thread Bill Paul
stg. > >> clktrk> ___ > >> edk2-devel mailing list > >> edk2-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/edk2-devel > > > > -

Re: [edk2] Apple Mac products and UEFI 2.0

2014-02-19 Thread Bill Paul
- > > - Managing the Performance of Cloud-Based Applications > > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/os

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 > > >

[edk2] FreeBSD EDKII/OVMF write-up

2014-02-13 Thread Bill Paul
w the UNIXGCC build is not a path well traveled, but it works well enough for me. -Bill -- ===== -Bill Paul(510) 749-2329 | Senior Member of Technical Staff, wp...@windriver.com | Master of Un

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

2014-02-13 Thread Bill Paul
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 EDKII to build OVMF on FreeBSD. It&#x

Re: [edk2] Sanity checking boot paths

2014-02-12 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 08:31:22 on Wednesday 12 February 2014 and say: > On 02/12/14 01:51, Bill Paul wrote: > > the > > fact that the QEMU/OVMF combo doesn't actually emulate a persistent flash > >

[edk2] Sanity checking boot paths

2014-02-11 Thread Bill Paul
s whether it's the case that, in general, UEFI evaluates all the boot paths before allowing the user to enter the setup screen. I found it very frustrating that the machine would taunt me with the catch-22 of getting stuck before letting me into the setup menu with which I could cure the probl

[edk2] Toolchain question...

2014-02-07 Thread Bill Paul
n still download it for free from Microsoft if you hunt for it, it seems the Windows Driver Kit 7.1 has taken its place. I think it includes the same basic tools, but they're installed in a different path. -Bill -- ===

Re: [edk2] Compiling issues when using UNIX/cross compile environment

2014-02-03 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 15:55:00 on Monday 03 February 2014 and say: > On 02/04/14 00:05, Bill Paul wrote: > > Of all the gin joints in all the towns in all the world, Laszlo Ersek had > > to > > > &

Re: [edk2] Compiling issues when using UNIX/cross compile environment

2014-02-03 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 14:36:03 on Monday 03 February 2014 and say: > On 02/03/14 23:02, Bill Paul wrote: > > Since I'm building on FreeBSD, I'm using the generic UNIX instructions > > for building

[edk2] Compiling issues when using UNIX/cross compile environment

2014-02-03 Thread Bill Paul
efix. I hacked around this in my local tree by just getting rid of the __attribute__((weak)) tag. It's possible that all of this may be attributable to the cross compiler toolchain being out of date, but these seem like genuine bugs

Re: [edk2] [PATCH] OvmfPkg/PlatformPei: Don't allocate ACPI NVS memory

2014-01-29 Thread Bill Paul
ry. > > > > At that time we should also have a way to disable > > S3 support in QEMU. When we detect that S3 is > > disabled in QEMU, then we can allocate this as regular > > Boot Services Data memory. > > > > Contributed-under: TianoCore Contribution Agreemen

Re: [edk2] OVMF on QEMU with recent EDK2 code

2014-01-29 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 15:10:12 on Tuesday 28 January 2014 and say: > On 01/28/14 21:55, Bill Paul wrote: > > I think part of my problem is that I don't quite understand how the > > firmware image volu

Re: [edk2] OVMF on QEMU with recent EDK2 code

2014-01-28 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 10:57:25 on Tuesday 28 January 2014 and say: > On 01/28/14 19:28, Bill Paul wrote: > > Of all the gin joints in all the towns in all the world, Laszlo Ersek had > > to > > > wa

Re: [edk2] OVMF on QEMU with recent EDK2 code

2014-01-28 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Laszlo Ersek had to walk into mine at 04:07:29 on Tuesday 28 January 2014 and say: > On 01/27/14 23:01, Bill Paul wrote: > > Hello all: > > > > I have some questions related to what I think is a recent change

[edk2] OVMF on QEMU with recent EDK2 code

2014-01-27 Thread Bill Paul
ation a bit higher up in RAM, but something tells me there's got to be a better way. Thanks in advance for any info you can provide. -Bill -- ===== -Bill Paul(510) 749-2329 | Senior Member o