[edk2] [PATCH] NetworkPkg/UefiPxeBcDxe: fix typo in function name PxeBcFlushStaionIp->PxeBcFlushStationIp

2014-04-22 Thread Mauro Faccenda
The function name is PxeBcFlushStaionIp and should be PxeBcFlushSta*t*ionIp. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Mauro Faccenda gmail.com> --- Index: UefiPxeBcDxe/PxeBcDhcp4.c === --- UefiPxeBc

Re: [edk2] [PATCH] OvmfPkg: QemuBootOrder: initialize IsFinal variable to make MSVC happy

2014-02-07 Thread Mauro Faccenda
I can confirm this happens with VS 2012 and DDK 7.1. Em 07/02/2014 20:14, "Jordan Justen" escreveu: > On Wed, Feb 5, 2014 at 1:22 PM, Mauro Faccenda wrote: > > The BOOLEAN IsFinal variable initialization isn't properly made by > > MSVC, to make it compile

Re: [edk2] Error compiling OVMF

2014-02-05 Thread Mauro Faccenda
Hi Laszlo, Thanks for your help. I've sent the patch in another message. Cheers, Mauro On Wed, Feb 5, 2014 at 6:13 PM, Laszlo Ersek wrote: > On 02/05/14 21:56, Mauro Faccenda wrote: >> Hi Laszlo, >> >> I understand it is wrong. Anyway, here is the patch with that

[edk2] [PATCH] OvmfPkg: QemuBootOrder: initialize IsFinal variable to make MSVC happy

2014-02-05 Thread Mauro Faccenda
The BOOLEAN IsFinal variable initialization isn't properly made by MSVC, to make it compile OVMF the variable needs to be initialized. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Mauro Faccenda gmail.com> --- Index: OvmfPkg/Library/PlatformBdsLib/QemuBoo

Re: [edk2] Error compiling OVMF

2014-02-05 Thread Mauro Faccenda
PM, Laszlo Ersek wrote: > On 02/05/14 20:28, Mauro Faccenda wrote: >> Hi all, >> >> When trying to compile OVMF in latest version it fails with the following >> error: >> >> edk2\ovmfpkg\library\platformbdslib\qemubootorder.c(888) : warning >> C4701:

[edk2] Error compiling OVMF

2014-02-05 Thread Mauro Faccenda
Hi all, When trying to compile OVMF in latest version it fails with the following error: edk2\ovmfpkg\library\platformbdslib\qemubootorder.c(888) : warning C4701: potentially uninitialized local variable 'IsFinal' used. The IsFinal variable should be initialized (assume FALSE?). Thanks in advan

Re: [edk2] question about network configuration

2014-02-03 Thread Mauro Faccenda
se I am ignoring this error (I believe this is clear in the code). Thanks in advance, Mauro On Mon, Jan 27, 2014 at 6:22 PM, Mauro Faccenda wrote: > Hi Lee, > > Thanks for your time ;) > > But even running the ifconfig before loading the driver I've got the > same beha

Re: [edk2] question about network configuration

2014-01-27 Thread Mauro Faccenda
after ifconfig should work around most of the > rough edges. > > Lee Leahy > > -Original Message- > From: Mauro Faccenda [mailto:facce...@gmail.com] > Sent: Monday, January 27, 2014 10:03 AM > To: edk2-devel@lists.sourceforge.net > Subject: [edk2] question ab

[edk2] question about network configuration

2014-01-27 Thread Mauro Faccenda
Hi all, I am experiencing some strange behavior regarding network configuration that I'd like to ask if its due some mistake I am doing or something else. First, let me give a little explanation about my scenario: I have an command line application that links against a third-party network librar

Re: [edk2] non-StdLib network clients example

2013-12-19 Thread Mauro Faccenda
but the key to failure is trying to please > everybody" > -- Bill Cosby. > > > -Original Message- > From: Mauro Faccenda [mailto:facce...@gmail.com] > Sent: Thursday, December 19, 2013 6:02 AM > To: edk2-devel@lists.sourceforge.net > Subject: [edk2] non-Std

[edk2] non-StdLib network clients example

2013-12-19 Thread Mauro Faccenda
Hi, I've been writing some network applications using StdLib and right now I need to make some of them available as UEFI Drivers and as far as I could check, it should be good to not rely on StdLib. Reading the UEFI 2.4 specification I understand that I should be using the EFI_SIMPLE_NETWORK_PROT

Re: [edk2] best way to generate an arbitrary long random data

2013-11-26 Thread Mauro Faccenda
Thank you Olivier. On Tue, Nov 26, 2013 at 12:55 PM, Olivier Martin wrote: > FYI, the UEFI spec 2.4 has introduced the "New Random Number Generator" > Protocol. > >> -Original Message- >> From: Mauro Faccenda [mailto:facce...@gmail.com] >> Sent: 20

[edk2] best way to generate an arbitrary long random data

2013-11-20 Thread Mauro Faccenda
Hi all, What is the best way to generate an arbitrary long random data? Use stdlib's srand/rand? Thanks in advance, -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront

Re: [edk2] simple file operations using stdio.h

2013-07-24 Thread Mauro Faccenda
/* 2 No such file or directory */ -- If I delete the file the behavior is exactly the same. Once again, thank for your help, Mauro On Wed, Jul 24, 2013 at 3:04 PM, Mauro Faccenda wrote: > Hi Daryl, > > Thank you for your quick answer. > > that command shows the file con

Re: [edk2] simple file operations using stdio.h

2013-07-24 Thread Mauro Faccenda
le.txt” at a (U)Efi > Shell prompt? > > **2) **Have you tried checking errno or EfiErrno for additional > information after the fopen() failed?**** > > ** ** > > Daryl McDaniel > > ** ** > > *From:* Mauro Faccenda [mailto:facce...@gmail.com] &

[edk2] simple file operations using stdio.h

2013-07-24 Thread Mauro Faccenda
Hi all, I am sorry to ask such a simple question and I swear before asking to this list I've searched for some solutions and couldn't fine one that worked for me. I need to make some basic file operations using the fopen and fclose. So, my code is this simple: -- #include #include int main(in

Re: [edk2] OVMF networking revisited

2013-03-26 Thread Mauro Faccenda
Hi Duane, Have you tried removing (not using the CirrusLogicXXX.rom? Newer versions of OVMF don't need it. On Tue, Mar 26, 2013 at 1:48 PM, Duane Voth wrote: > Getting a chance to look at this again... > > md5sum for Intel3.5/EFIX64/E3507X2.EFI matches. > build command line matches. > qemu ve

[edk2] StdLib socket.h: write vs. send

2013-01-17 Thread Mauro Faccenda
the socket() returns, shouldn't be the integer? I will try to run some tests later to confirm. 2- Is this another case of the EFIAPI used when it shouldn't? Regards, Mauro Faccenda -- Master Visual Studio, Sha

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
Hi Laszlo, With your patch the GetHostByName doesn't hang anymore, but GetHostByDns still does. Couldn't even try to check the differences yet. Cheers, On Tue, Jan 15, 2013 at 7:46 PM, Laszlo Ersek wrote: > On 01/15/13 09:18, Космынин Олег Олегович wrote: >> One bug with debug sections (check

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
can fix the warning with a cast, or see if you > can find the missing or extra EFIAPI and file a bug report or post to the > list. Thanks for the help. > > Andrew Fish > > > On Jan 15, 2013, at 11:17 AM, Mauro Faccenda wrote: > >> Hi Andrew, >> >> Just repo

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
Hi Andrew, Just reporting that the GCC version doesn't seem to be the problem since I've got the exact same problems using Ubuntu 10.4 with GCC 4.4 (however I didn't try GCC 4.5). Cheers, On Tue, Jan 15, 2013 at 12:56 PM, Andrew Fish wrote: > > > I also noticed that the StdLib readme.txt states

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
#x27;m not really familiar with the StdLib, but I did a quick grep and it looks > like main is called from LibC as int main(int, char **) and not int EFIABI > main (int, char **). > > Andrew Fish > > > On Jan 11, 2013, at 6:24 AM, Mauro Faccenda wrote: > >> Hi all,

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
> Thank you, > Daryl McDaniel > > -Original Message- > From: Mauro Faccenda [mailto:facce...@gmail.com] > Sent: Monday, January 14, 2013 8:23 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] difficulties getting started with EDK2 Development > > H

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-15 Thread Mauro Faccenda
lpha stage and you should expect lots of > bugs. > > Good luck in your work > > > From: Mauro Faccenda [facce...@gmail.com] > Sent: 11 January 2013 18:24 > To: edk2-devel@lists.sourceforge.net > Subject: [edk2] difficulties getting star

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-14 Thread Mauro Faccenda
ll make sure they are fixed soon. > Thank you for taking the time to report these problems. > > Daryl McDaniel > > "In the pun, two strings of thought are tangled into one acoustic knot." > -- Arthur Koestler > > -----Original Message- > From: Mauro Faccenda [m

Re: [edk2] difficulties getting started with EDK2 Development

2013-01-14 Thread Mauro Faccenda
On Sat, Jan 12, 2013 at 5:36 AM, Jordan Justen wrote: > On Fri, Jan 11, 2013 at 6:24 AM, Mauro Faccenda wrote: >> #include >> int >> EFIAPI >> main ( >> IN int Argc, >> IN char **Argv >> ) >> { >> printf("\nArgc=%d\n"

[edk2] difficulties getting started with EDK2 Development

2013-01-11 Thread Mauro Faccenda
. Any tips or clarifications will be really appreciated. Anyway, thanks for the good job you all have been doing on this project. =) Mauro Faccenda -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much m