Re: [edk2] difficulties getting started with EDK2 Development

Subject: Re: [edk2] difficulties getting started with EDK2 Development

From: "Mcdaniel, Daryl" <daryl.mcdaniel@intel.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2013-01-15 08:22:25

Mauro,

Consider the problems reported.
I have added them to the problems list and will 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 [mailto:faccenda@gmail.com] 
Sent: Monday, January 14, 2013 8:56 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] difficulties getting started with EDK2 Development

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", Argc);
>>   return 0;
>> }
>> --
>> And whenever I run it on UEFI Shell (using qemu), I always get really
>> big values (> 37000000) no matter with how many parameter I run and if
>> I run with the same parameter multiple times, the value sometimes
>> changes, as you can see on the image below:
>
> Looking in StdLib/LibC/Main/Main.c, it seems that main is prototyped as:
> extern int main( int, char**);
>
> Notice the lack of EFIAPI. Perhaps you can try to remove that and see
> if argc prints out properly?

Turns out you were right. Thanks for your help.

I would like to report those minor problems I've found somewhere, but
I don't know exactly where is the best place.

Can anyone point me the right direction? It seems that I'll have a lot
of work with UEFI development and I'd like to contribute somehow.

Once again, thanks for your help.

Mauro

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel