Re: [edk2] UEFI Driver Libraries problem

2018-12-12 Thread Jarlstrom, Laurie
Hi Ivan,

It seems that probably you might be getting the error because of your .inf 
File. Do you want your UEFI module to be a UEFI_DRIVER or UEFI_APPLICATION? I 
am assuming UEFI_DRIVER.
Is there a reason why you need to access the UEFI Shell protocol from your 
driver?
Typically it is not best practices to have a dependency on the UEFI Shell 
within a driver since the UEFI Driver is called from the UEFI Dispatcher and 
not from the Shell.
Some good examples of a UEFI Driver are in 
https://github.com/tianocore/edk2/tree/master/MdeModulePkg of which the SCSI 
driver is a good single example: 
https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Bus/Scsi/ScsiDiskDxe 

Here is an example of a UEFI Application:  
https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Application/HelloWorld

Here is an example of a super simple UEFI Application: 
https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-Writing-Simple-Application
 

Thanks,
Laurie

laurie.jarlst...@intel.com, 
Firmware Integration & Dev (FED-SSG)
(503) 712 9395


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
Jarlstrom, Laurie
Sent: Wednesday, December 12, 2018 8:46 AM
To: inovgorodt...@itti.com.pl; edk2-devel@lists.01.org
Subject: [edk2] FW: UEFI Driver Libraries problem


Hi Ivan,

I am forwarding your question to the email list for EDK II, 
edk2-devel@lists.01.org and will answer there.

To join this email list see: 
https://github.com/tianocore/tianocore.github.io/wiki/edk2-devel and then join 
the https://lists.01.org/mailman/listinfo/edk2-devel email list for edk2-devel


Thanks,
Laurie

laurie.jarlst...@intel.com, 

-Original Message-
From: edk2-devel [mailto:mailman-boun...@lists.01.org] On Behalf Of 
inovgorodt...@itti.com.pl
Sent: Wednesday, December 12, 2018 5:14 AM
To: edk2-devel-ow...@lists.01.org
Subject: UEFI Driver Libraries problem

Hello,
at the beggining I wanted to say, that maybe here on this page it will be 
easier to understand my problem, there are some pictures explaining and nice 
code formatting:

https://stackoverflow.com/questions/53741304/compile-uefi-application-driver-using-edk2
 

I'm trying to build UEFI Application/Driver, but I get errors when I'm trying 
to include library:
#include "C:\MyWorkspace\ShellPkg\Include\Library\ShellLib.h"
Errors:
1>Building ...
c:\myworkspace\MdeModulePkg\Library\CustomizedDisplayLib\CustomizedDisplayLib.inf
[IA32]
1>C:\MyWorkspace\ShellPkg\Include\Library\ShellLib.h(22): fatal error
C1083: Cannot open include file: 'Protocol/EfiShellInterface.h': No such file 
or directory
1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\cl.exe"'
: return code '0x2'

If I try another method:

EFI_STATUS
EFIAPI
BootCheckDriverEntryPoint (
  IN EFI_HANDLEImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{
EFI_SHELL_PROTOCOL*EfiShellProtocol;
EFI_STATUSStatus;

Status = gBS->LocateProtocol(&gEfiShellProtocolGuid,NULL,(VOID
**)&EfiShellProtocol);

  //
  // Install UEFI Driver Model protocol(s).
  //

  Status = EfiLibInstallDriverBindingComponentName2 (
 ImageHandle,
 SystemTable,
 &gBootCheckDriverBinding,
 ImageHandle,
 &gBootCheckComponentName,
 &gBootCheckComponentName2
 );
  ASSERT_EFI_ERROR (Status);

  return Status;
}

I get.. linker errors I suppose. I also tried to include some libraries in 
property pages, but I'm not very familiar with Visual Makefile project, I could 
have done something wrong.

1>Building ...
c:\myworkspace\MdeModulePkg\Library\FileExplorerLib\FileExplorerLib.inf
[IA32]
1>c:\myworkspace\source\BootCheck.c(111): error C2065:
'EFI_SHELL_PROTOCOL': undeclared identifier
1>c:\myworkspace\source\BootCheck.c(111): error C2065: 'EfiShellProtocol':
undeclared identifier
1>c:\myworkspace\source\BootCheck.c(111): warning C4552: '*': result of
expression not used
1>c:\myworkspace\source\BootCheck.c(114): error C2065: 'EfiShellProtocol':
undeclared identifier


I would appreciate any useful information, thank you.
Ivan Novgorodtsev


___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] FW: UEFI Driver Libraries problem

2018-12-12 Thread Jarlstrom, Laurie


Hi Ivan,

I am forwarding your question to the email list for EDK II, 
edk2-devel@lists.01.org and will answer there.

To join this email list see: 
https://github.com/tianocore/tianocore.github.io/wiki/edk2-devel and then join 
the https://lists.01.org/mailman/listinfo/edk2-devel email list for edk2-devel


Thanks,
Laurie

laurie.jarlst...@intel.com, 

-Original Message-
From: edk2-devel [mailto:mailman-boun...@lists.01.org] On Behalf Of 
inovgorodt...@itti.com.pl
Sent: Wednesday, December 12, 2018 5:14 AM
To: edk2-devel-ow...@lists.01.org
Subject: UEFI Driver Libraries problem

Hello,
at the beggining I wanted to say, that maybe here on this page it will be 
easier to understand my problem, there are some pictures explaining and nice 
code formatting:

https://stackoverflow.com/questions/53741304/compile-uefi-application-driver-using-edk2

I'm trying to build UEFI Application/Driver, but I get errors when I'm trying 
to include library:
#include "C:\MyWorkspace\ShellPkg\Include\Library\ShellLib.h"
Errors:
1>Building ...
c:\myworkspace\MdeModulePkg\Library\CustomizedDisplayLib\CustomizedDisplayLib.inf
[IA32]
1>C:\MyWorkspace\ShellPkg\Include\Library\ShellLib.h(22): fatal error
C1083: Cannot open include file: 'Protocol/EfiShellInterface.h': No such file 
or directory
1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\cl.exe"'
: return code '0x2'

If I try another method:

EFI_STATUS
EFIAPI
BootCheckDriverEntryPoint (
  IN EFI_HANDLEImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{
EFI_SHELL_PROTOCOL*EfiShellProtocol;
EFI_STATUSStatus;

Status = gBS->LocateProtocol(&gEfiShellProtocolGuid,NULL,(VOID
**)&EfiShellProtocol);

  //
  // Install UEFI Driver Model protocol(s).
  //

  Status = EfiLibInstallDriverBindingComponentName2 (
 ImageHandle,
 SystemTable,
 &gBootCheckDriverBinding,
 ImageHandle,
 &gBootCheckComponentName,
 &gBootCheckComponentName2
 );
  ASSERT_EFI_ERROR (Status);

  return Status;
}

I get.. linker errors I suppose. I also tried to include some libraries in 
property pages, but I'm not very familiar with Visual Makefile project, I could 
have done something wrong.

1>Building ...
c:\myworkspace\MdeModulePkg\Library\FileExplorerLib\FileExplorerLib.inf
[IA32]
1>c:\myworkspace\source\BootCheck.c(111): error C2065:
'EFI_SHELL_PROTOCOL': undeclared identifier
1>c:\myworkspace\source\BootCheck.c(111): error C2065: 'EfiShellProtocol':
undeclared identifier
1>c:\myworkspace\source\BootCheck.c(111): warning C4552: '*': result of
expression not used
1>c:\myworkspace\source\BootCheck.c(114): error C2065: 'EfiShellProtocol':
undeclared identifier


I would appreciate any useful information, thank you.
Ivan Novgorodtsev


___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] how to create environmental variable for Shell

2017-11-03 Thread Jarlstrom, Laurie
Delay for the shell to start "Startup.nsh" can also be done with the option 
"-delay :n" where n is the number of seconds of delay, default is 5.

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395



-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
Jarlstrom, Laurie
Sent: Friday, November 03, 2017 1:32 PM
To: jim.dai...@dell.com; tiger...@zhaoxin.com
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] how to create environmental variable for Shell

Hi,
Are you trying to set the Timeout variable (delay to allow user to press a key 
to go into setup) or the delay for the shell  before executing startup.nsh?
The Timeout variable is a PCD and can be set with: 
 TmpVal = 2;
 PcdStatus = PcdSet16(PcdPlatformBootTimeOut, (UINT16)TmpVal);

This will set the global variable "Timeout" - check with shell dmpstore.

The delay for the Shell can be done when invoking the Shell.efi image with 
"-nostartup" option.

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395



-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
jim.dai...@dell.com
Sent: Friday, November 03, 2017 4:54 AM
To: tiger...@zhaoxin.com
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] how to create environmental variable for Shell

Please excuse the stupid email plug-in I have to use that puts the "Internal 
Use" line in my text emails. The plug-in does not allow me to see that text, so 
I have to remember to remove it every time even though I never see it.  Sadly, 
I sometimes forget.

-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Dailey, 
Jim
Sent: Friday, November 3, 2017 6:49 AM
To: tiger...@zhaoxin.com
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] how to create environmental variable for Shell

Dell - Internal Use - Confidential   <=== No, this is *NOT* true!

You need to use the shell's GUID, gShellVariableGuid, if you want to create a 
shell variable.

Regards,
Jim

-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Tiger Liu
Sent: Friday, November 3, 2017 12:01 AM
To: edk2-devel@lists.01.org
Subject: [edk2] how to create environmental variable for Shell

Hi, experts:
I have a question about creating shell’s environmental variable.
Such as : StartupDelay

I tried to create this variable at uefi boot phase.
……
  TmpVal = 2;
  Status =  gRT->SetVariable (
   L"StartupDelay",
   &gEfiGlobalVariableGuid,
   EFI_VARIABLE_BOOTSERVICE_ACCESS | 
EFI_VARIABLE_RUNTIME_ACCESS |EFI_VARIABLE_NON_VOLATILE,
   sizeof (TmpVal),
   &TmpVal
  );
……

When boot to shell, it still delays 5 seconds.

I tried to use shell cmd ‘set’, then it’s ok, shell’s default delay switched to 
2 seconds.

I used dmpstore cmd to list current system’s variables, and found 2 
StartupDelay variables:
Efi:StartupDelay
SEnv:StartupDelay

So, my question is:
How to create “SEnv:StartupDelay” variable in UEFI BIOS code.

Thanks

Best wishes,


保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for 
the sole use of its intended recipient. Any unauthorized review, use, copying 
or forwarding of this email or the content of this email is strictly prohibited.
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] how to create environmental variable for Shell

2017-11-03 Thread Jarlstrom, Laurie
Hi,
Are you trying to set the Timeout variable (delay to allow user to press a key 
to go into setup) or the delay for the shell  before executing startup.nsh?
The Timeout variable is a PCD and can be set with: 
 TmpVal = 2;
 PcdStatus = PcdSet16(PcdPlatformBootTimeOut, (UINT16)TmpVal);

This will set the global variable "Timeout" - check with shell dmpstore.

The delay for the Shell can be done when invoking the Shell.efi image with 
"-nostartup" option.

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395



-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
jim.dai...@dell.com
Sent: Friday, November 03, 2017 4:54 AM
To: tiger...@zhaoxin.com
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] how to create environmental variable for Shell

Please excuse the stupid email plug-in I have to use that puts the "Internal 
Use" line in my text emails. The plug-in does not allow me to see that text, so 
I have to remember to remove it every time even though I never see it.  Sadly, 
I sometimes forget.

-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Dailey, 
Jim
Sent: Friday, November 3, 2017 6:49 AM
To: tiger...@zhaoxin.com
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] how to create environmental variable for Shell

Dell - Internal Use - Confidential   <=== No, this is *NOT* true!

You need to use the shell's GUID, gShellVariableGuid, if you want to create a 
shell variable.

Regards,
Jim

-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Tiger Liu
Sent: Friday, November 3, 2017 12:01 AM
To: edk2-devel@lists.01.org
Subject: [edk2] how to create environmental variable for Shell

Hi, experts:
I have a question about creating shell’s environmental variable.
Such as : StartupDelay

I tried to create this variable at uefi boot phase.
……
  TmpVal = 2;
  Status =  gRT->SetVariable (
   L"StartupDelay",
   &gEfiGlobalVariableGuid,
   EFI_VARIABLE_BOOTSERVICE_ACCESS | 
EFI_VARIABLE_RUNTIME_ACCESS |EFI_VARIABLE_NON_VOLATILE,
   sizeof (TmpVal),
   &TmpVal
  );
……

When boot to shell, it still delays 5 seconds.

I tried to use shell cmd ‘set’, then it’s ok, shell’s default delay switched to 
2 seconds.

I used dmpstore cmd to list current system’s variables, and found 2 
StartupDelay variables:
Efi:StartupDelay
SEnv:StartupDelay

So, my question is:
How to create “SEnv:StartupDelay” variable in UEFI BIOS code.

Thanks

Best wishes,


保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for 
the sole use of its intended recipient. Any unauthorized review, use, copying 
or forwarding of this email or the content of this email is strictly prohibited.
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] [PATCH] ShellPkg/UefiShellLib: Use a more bright blue/green color

2017-10-16 Thread Jarlstrom, Laurie
The Idea of PCDs would be great.  I always change the UefiShellLib EFI_BLUE to 
EFI_CYAN to get a brighter blue.

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Carsey, 
Jaben
Sent: Monday, October 16, 2017 9:32 AM
To: Ni, Ruiyu ; edk2-devel@lists.01.org
Subject: Re: [edk2] [PATCH] ShellPkg/UefiShellLib: Use a more bright blue/green 
color

Reviewed-by: Jaben Carsey 

We could also use some PCDs if different people really want different colors in 
the future...

> -Original Message-
> From: Ni, Ruiyu
> Sent: Monday, October 16, 2017 12:31 AM
> To: edk2-devel@lists.01.org
> Cc: Carsey, Jaben 
> Subject: [PATCH] ShellPkg/UefiShellLib: Use a more bright blue/green 
> color
> Importance: High
> 
> Some developers/QAs complain the color of directory or executable 
> files is hard to see and suggest to use a more bright color.
> I agree with this suggestion so make this patch.
> The look and feel is much better now.
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Ruiyu Ni 
> Cc: Jaben Carsey 
> ---
>  ShellPkg/Library/UefiShellLib/UefiShellLib.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c
> b/ShellPkg/Library/UefiShellLib/UefiShellLib.c
> index 64565f81d8..25d3e33533 100644
> --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c
> +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c
> @@ -2849,10 +2849,10 @@ InternalShellPrintWorker(
>  gST->ConOut->SetAttribute(gST->ConOut,
> EFI_TEXT_ATTR(EFI_WHITE, ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
>  break;
>case (L'B'):
> -gST->ConOut->SetAttribute(gST->ConOut, EFI_TEXT_ATTR(EFI_BLUE,
> ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
> +gST->ConOut->SetAttribute(gST->ConOut,
> EFI_TEXT_ATTR(EFI_LIGHTBLUE, ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
>  break;
>case (L'V'):
> -gST->ConOut->SetAttribute(gST->ConOut,
> EFI_TEXT_ATTR(EFI_GREEN, ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
> +gST->ConOut->SetAttribute(gST->ConOut,
> EFI_TEXT_ATTR(EFI_LIGHTGREEN,
> ((OriginalAttribute&(BIT4|BIT5|BIT6))>>4)));
>  break;
>default:
>  //
> --
> 2.12.2.windows.2

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] Tianocore.org about to have new look

2017-06-29 Thread Jarlstrom, Laurie
We are about to change the look of the main Tianocore.org website
Stay tuned and let us know how it looks

thanks,
Laurie

laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] How to search the edk2-devel mailing list?

2017-01-11 Thread Jarlstrom, Laurie
Search before July 2015: https://sourceforge.net/p/edk2/mailman/edk2-devel/ 

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
Richardson, Brian
Sent: Wednesday, January 11, 2017 12:33 PM
To: edk2-devel@lists.01.org
Subject: Re: [edk2] How to search the edk2-devel mailing list?

The list archives are available here - 
https://lists.01.org/mailman/listinfo/edk2-devel 

Thanks ... br
---
Brian Richardson, Senior Technical Marketing Engineer, Intel Software 
brian.richard...@intel.com -- @intel_Brian (Twitter & WeChat) 
https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson
 

-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Stephen 
Polkowski
Sent: Wednesday, January 11, 2017 12:33 PM
To: edk2-devel@lists.01.org
Subject: [edk2] How to search the edk2-devel mailing list?

Hi all,

I'm having a new problem with the 2.1 shell.  I've noticed that shell 
scripts will fail and exit if you test an undefined shell variable. 
This wasn't a problem on the 2.0 shell.  For example:

if %undefinedvar% == "xyz" then

Anyhow, I wanted to search the mailing lists first to see if this is a 
unknown problem or a known change.  How does one search the mailing list?  I 
tried Googling a topic from last month and Google didn't find it.

Thanks,

Stephen
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] Improvement at Wiki (EFI_SHELL_INTERFACE)

2017-01-09 Thread Jarlstrom, Laurie
Rafael,

You may have been referring to the EFI_SHELL_INTERFACE that is the older 
protocol from the EFI Shell Interface protocol from EDK (1) shell (no 
Specification).
If you are using older UEFI Firmware with the EDK 1 Shell not the EDK II Shell 
2 then you can use this protocol.

You can check which Shell your app is getting called from by checking which of 
the protocols it getting used:

Here is a snippet of code to determine :

EFI_STATUS
EFIAPI
UefiMain (
  IN EFI_HANDLEImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{
 EFI_STATUS  Status;
 EFI_SHELL_PARAMETERS_PROTOCOL*EfiShellParametersProtocol;  // 
EfiShellParameters.h
 EFI_SHELL_INTERFACE  *EfiShellInterface;  // 
EfiShellInterface.h

 UINTN Argc;
 CHAR16**Argv;
 EFI_GUID  mEfiShellParametersProtocolGuid = 
EFI_SHELL_PARAMETERS_PROTOCOL_GUID;  // Current UEFI Shell 2.
 EFI_GUID  mEfiShellInterfaceGuid = SHELL_INTERFACE_PROTOCOL_GUID;  
// Older EDK Shell 1

 
 //Initialize local protocol pointers
  EfiShellParametersProtocol = NULL;
  EfiShellInterface = NULL;

  // check input parameters from command line using UEFI Shell 2.0
 Status = gBS->OpenProtocol(ImageHandle,
&mEfiShellParametersProtocolGuid,
(VOID **)&EfiShellParametersProtocol,
ImageHandle,
NULL,
EFI_OPEN_PROTOCOL_GET_PROTOCOL
); 
 if (!EFI_ERROR(Status)) {
  // use shell 2.0 interface
  Print(L"Using UEFI Shell 2.0 Parameter Protocol\n"); 
  Argc = EfiShellParametersProtocol->Argc;
  Argv = EfiShellParametersProtocol->Argv;
// Call our main with Argc / Argv parameters 
  SampleMain ( Argc, Argv);  // TODO what you need to do for using UEFI 
Shell 2
 }else{ // else check if EFI Shell 1.0 
  Status = gBS->OpenProtocol(ImageHandle,
  &mEfiShellInterfaceGuid,
  (VOID **)&EfiShellInterface,
  ImageHandle,
  NULL,
  EFI_OPEN_PROTOCOL_GET_PROTOCOL
  );
 if (!EFI_ERROR(Status)) 
{
Print(L"Using EFI Shell 1.0 Interface Protocol\n"); 
Argc = EfiShellInterface->Argc;
Argv = EfiShellInterface->Argv;
SampleMain ( Argc, Argv);   // TODO What you need to do 
to use EFI Shell 1.0 
 }else {
  Print(L"\nGetting Shell params did NOT work: \n");
 }
 }

  
return EFI_SUCCESS;
}



thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Carsey, 
Jaben
Sent: Monday, January 09, 2017 7:44 AM
To: Rafael Machado; edk2-devel@lists.01.org
Cc: Carsey, Jaben
Subject: Re: [edk2] Improvement at Wiki (EFI_SHELL_INTERFACE)

Rafael,

Actually it's the opposite.  EFI_SHELL_INTERFACE is the older and deprecated 
protocol.  I do not know of any active development using that protocol.

-Jaben

> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
> Rafael Machado
> Sent: Saturday, January 7, 2017 1:14 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] Improvement at Wiki (EFI_SHELL_INTERFACE)
> Importance: High
> 
> Hi everyone
> 
> During a a development I faced the following wiki information at 
> tianocore's
> github:
> 
> https://github.com/tianocore/tianocore.github.io/wiki/Creating-a-Shell
> -
> Application#Using_EFI_SHELL_PROTOCOL
> 
> I remember a case when I was working with a system that didn't have a 
> instance of the EFI_SHELL_PARAMETERS_PROTOCOL, and the solution was to 
> use the EFI_SHELL_INTERFACE protocol, that seems to be a newer 
> protocol to be used when doing something like what the wiki presents.
> 
> I believe it would be nice to update this wiki adding this information.
> 
> Thanks and Regards
> Rafael R. Machado
> ___
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] Error while doing Hello World on Ubuntu 16.04

2016-11-28 Thread Jarlstrom, Laurie
Hi 

It looks like there is an error with the "FILE_GUID" you have in the file 
MyHelloWorld.inf.
Make sure to copy and paste a new GUID from the http://www.guidgen.com/  in 
this file
INF_VERSION= 1.25
  BASE_NAME  = MyHelloWorld
  FILE_GUID  =   "Copy and paste GUID here"

Example:
FILE_GUID  =   05fe4409-66b3-4b0d-9acf-68a21a87186e


thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Jannis 
Ötjengerdes
Sent: Monday, November 28, 2016 3:35 AM
To: edk2-devel@lists.01.org
Subject: [edk2] Error while doing Hello World on Ubuntu 16.04

Hello,

i followed your guide which is described here: https://github.com/tianocore/ 
tianocore.github.io/wiki/Getting-Started-Writing-Simple-Application. When I try 
to build for X64 I get the following error which I should send to you:

(Python 2.7.12 on linux2) Traceback (most recent call last):
  File 
"/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2276, in Main
MyBuild.Launch()
  File 
"/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2028, in Launch
self._MultiThreadBuildPlatform()
  File 
"/opt/edk2_new/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 1858, in _MultiThreadBuildPlatform
Ma.CreateCodeFile(True)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/AutoGen.py", line 3997, 
in CreateCodeFile
for File in self.AutoGenFileList:
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/AutoGen.py", line 3302, 
in _GetAutoGenFileList
GenC.CreateCode(self, AutoGenC, AutoGenH, StringH, UniStringAutoGenC, 
UniStringBinBuffer, StringIdf, IdfStringAutoGenC, IdfGenBinBuffer)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/GenC.py", line 1937, in 
CreateCode
CreateHeaderCode(Info, AutoGenC, AutoGenH)
  File "/opt/edk2_new/BaseTools/Source/Python/AutoGen/GenC.py", line 1895, in 
CreateHeaderCode
AutoGenH.Append("#define EFI_CALLER_ID_GUID \\\n  %s\n" %
GuidStringToGuidStructureString(Info.Guid))
  File "/opt/edk2_new/BaseTools/Source/Python/Common/Misc.py", line 297, in 
GuidStringToGuidStructureString
Result = Result + '0x' + GuidList[Index] + ', '
IndexError: list index out of range


- Failed -
Build end time: 12:30:42, Nov.28 2016
Build total time: 00:00:00
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] tianocore.org site broken

2016-11-22 Thread Jarlstrom, Laurie
Seems to be back up now.  Maybe another DNS glitch 

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Rebecca 
Cran
Sent: Tuesday, November 22, 2016 8:56 AM
To: edk2-devel@lists.01.org
Subject: [edk2] tianocore.org site broken

It looks like the tianocore site is broken: http://tianocore.org and
http://tianocore.org/edk2 displays 404 pages, while 
http://www.tianocore.org/udk/udk2015/# has missing images etc.

--
Rebecca
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] How to open a file by it's full path in UEFI

2016-09-27 Thread Jarlstrom, Laurie
Keshava,
Attached Sample code  is an example that will open a file name passed through 
the command line using the Shell.


thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395



-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of GN 
Keshava
Sent: Tuesday, September 27, 2016 4:52 AM
To: Laszlo Ersek
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] How to open a file by it's full path in UEFI

Thank you Laszlo.

I'll check it out. :)

Thanks again.
Regards,
Keshava

On Tue, 27 Sep 2016 at 16:47 Laszlo Ersek  wrote:

> On 09/27/16 12:46, GN Keshava wrote:
> > Hi Laszlo,
> >
> > Thank you for the answer. It was helpful.
> >
> > Considering option #1, can you give some more details (a small 
> > example or any reference link would be helpful), how I can use Shell 
> > APIs in my C file (which will compile to my .efi app)?
>
> Hmmm, I don't have hands-on experience with this, but you might want 
> to try the ShellOpenFileByName() function, from 
> "ShellPkg/Include/Library/ShellLib.h".
>
> You can find examples for UEFI applications that use the Shell library
> with:
>
>   git grep -w ShellLib -- '*inf'
>
> or just grep the tree for ShellOpenFileByName().
>
> See also "AppPkg/ReadMe.txt".
>
> > Considering option #2, How I can find device path programatically 
> > from my C file?
>
> The EFI_SHELL_PROTOCOL.GetDevicePathFromMap() member function seems 
> relevant -- it is specified in the UEFI Shell spec --, but I would 
> definitely try ShellOpenFileByName() first.
>
> Thanks
> Laszlo
>
> > Thanks again for the help. :)
> > With regards,
> > Keshava
> >
> > On Tue, 27 Sep 2016 at 15:19 Laszlo Ersek  > > wrote:
> >
> > On 09/27/16 11:25, GN Keshava wrote:
> > > Hi Laszlo,
> > >
> > > Thanks for the reply. I meant I have complete file path. I 
> > believe
> the
> > > "device path" is different. Is it possible to obtain DevicePath
> > using my
> > > full file path?
> >
> > The pathname you seem to have (as "complete") is specific to a given
> > simple FS, so system-wide it cannot be considered complete 
> > (there
> can be
> > multiple filesystems).
> >
> > In your original email I missed that you started with "FS1:".
> Andrew's
> > answer covers that case.
> >
> > In summary, you can do three things:
> > - have a pathname that starts with FSx: (which is a shell-specific
> > mapping), and use Andrew's recommendation,
> > - have a complete UEFI device path, and then use what I recommended,
> > - have no information for selecting the filesystem (from the many
> > possible), and use your current iteration.
> >
> > Options #1 and #2 actually correspond to each other, considering
> > "expressive power" / information content (as long as you are in the
> > shell); please see the MAP shell command.
> >
> > Thanks
> > Laszlo
> >
> > > On Tue, 27 Sep 2016 at 14:46 Laszlo Ersek  > 
> > > >> wrote:
> > >
> > > On 09/27/16 11:03, GN Keshava wrote:
> > > > Hi all,
> > > >
> > > >
> > > > I'm trying to open a file from my UEFI application. The path
> of
> > > file is
> > > >
> > > > fs1:/myfolder/myfile.txt
> > > >
> > > > The code :
> > > >
> > > > efiStatus = bs->LocateHandleBuffer(ByProtocol,
> > > >&sfspGuid,
> > > >NULL,
> > > >&handleCount,
> > > >&handles);
> > > >
> > > > for (index = 0; index < (int)handleCount; ++ index)
> > > > {
> > > > EFI_SIMPLE_FILE_SYSTEM_PROTOCOL* fs = NULL;
> > > >
> > > > efiStatus = bs->HandleProtocol(
> > > > handles[index],
> > > > &sfspGuid,
> > > > (void**)&fs);
> > > >
> > > > EFI_FILE_PROTOCOL* root = NULL;
> > > > ...
> > > > efiStatus = fs->OpenVolume(fs, &root);
> > > >
> > > > EFI_FILE_PROTOCOL* token = NULL;
> > > >
> > > > efiStatus = root->Open(
> > > > root,
> > > > &token,
> > > > L"myfolder\\myfile.txt",
> > > > EFI_FILE_MODE_READ,
> > > > EFI_FILE_READ_ONLY | EFI_FILE_HIDDEN |
> EFI_FILE_SYSTEM);
> > > > }
> > > >
> > > > But using this method, I can only go through all the file
> system
> > > handles
> > > > and open each volume and try opening my file.
> > > >
> > > > But I want to give full path to my file and open it in it's
> > volume.
> > > >
> > > > How can I acheive this?
> > >

[edk2] Announcing FDF V1.27 Draft for Review

2016-09-13 Thread Jarlstrom, Laurie
Announcing FDF 1.27 Review Draft for review. 
Goto the EDK II Specifications 
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Specifications 
page to download the latest FDF 1.27 Review Draft documentation.

Please Review By EOW

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] code documentation generator?

2016-07-21 Thread Jarlstrom, Laurie
Yes, it is already done with each UDK release.  Documentations is generated for 
EDK II packages. See: 
http://www.tianocore.org/udk/udk2015/  under Documents.



thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Michael 
Zimmermann
Sent: Thursday, July 21, 2016 7:22 AM
To: edk2-devel@lists.01.org
Subject: [edk2] code documentation generator?

Hi,

since EDK2's code is very good commented/documented, wouldn't it make sense to 
support tools like doxygen to generate standalone/online documentation like the 
one that once was available at phoenix?

Or is there something like that already and I just didn't see it?

Thanks
Michael
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] Transition to GitHub Dates

2016-01-29 Thread Jarlstrom, Laurie
To: EDK II Community

The transition to GitHub will start February 2nd at around 10AM PST (UTC-8). We 
estimate it to be completed by February 4th at 5PM PST.  During this time a 
number of changes will be happening including the disabling of write access to 
the EDK II repository on SourceForge.  The time that write access is disabled 
will be reduced as much as possible.  A notification will be sent out prior to 
disabling write access on SourceForge as well as a mail when write access is 
enabled on GitHub.

For status on the transition to GitHub see the Wiki page below.
https://github.com/tianocore/tianocore.github.io/wiki/Transition-to-GitHub 

Please post any comments or questions related to this transition to the 
edk2-devel mailing list or reply to the email message.

Thanks, Tianocore.org Administration
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] Transition to GitHub Update

2016-01-15 Thread Jarlstrom, Laurie
To: EDK II Community

This message is an update on the transition from SourceForge to GitHub for EDK 
II development.  The schedule is currently targeting the last week of January 
or the first week of February to perform the transition.  The transition 
process should only take one to two days to complete.  A notification message 
will be sent the week prior to the actual dates that the repositories will be 
impacted.  This should provide adequate notification for the scheduled down 
time.
As part of this transition some documentation and process changes have been 
required.  The updated process as well as other GitHub specific information can 
be found on the tianocore Wiki at the link provided below.  Feedback on this 
documentation is welcome and needed to make sure the transition is as smooth as 
possible.

https://github.com/tianocore/tianocore.github.io/wiki/SourceForge-to-Github-Quick-Start
 

Please post any comments or questions related to this transition to the 
edk2-devel mailing list or reply to the email message.
 
Thanks, Tianocore.org Administration
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] EDK II Spec Updates

2016-01-05 Thread Jarlstrom, Laurie
Announcing the V1.25 and V1.26 updates to the EDK II Specifications. Go to the 
EDK II Specifications page to download the latest documentation.  
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Specifications 


thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395


___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] trouble building edkii

2015-12-16 Thread Jarlstrom, Laurie
Here are some Edk II training options:
1) Online Training:

"Defining Specifications' Role in Firmware" and Lessons 1-5 of "Implementing 
the Boot Process."  
https://github.com/tianocore/tianocore.github.io/wiki/UEFI-EDKII-Learning-Dev
I Recommend Downloading the Zip File** for each of the lessons (Scroll down to 
the Courses section)

2) Latest 3- Day UEFI / EDK II Training Material:

-  
https://sourceforge.net/projects/edk2/files/Training/TrainingMaterial/Lab-Material-FW.zip/download

-  
Presentations151117.zip<http://sourceforge.net/projects/edk2/files/Training/TrainingMaterial/Presentations151117.zip/download>

-  Contains source code & documents needed for labs

-  Creates C:\FW sub-directory automatically

-  Follow the _UEFI_Lab_Guide.pdf for getting started



thanks,
Laurie

laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>

Intel SSG/STO/EBP
(503) 712-9395


From: Guyen Gankhuyag [mailto:guyen...@hotmail.com]
Sent: Wednesday, December 16, 2015 2:02 PM
To: Jarlstrom, Laurie; edk2-devel@lists.01.org
Subject: RE: [edk2] trouble building edkii

I dont feel very comfortable with the response. Are you sure this will work? If 
so, how it is not documented in the build guide? Is anyone in charge of 
maintaining the build has accurate information or is it just abandoned?
The reason I mailed here is to get professional support, instead of poking 
around here and there which rarely works.
typically this is a result of something in your environment not set correctly, 
(i.e. the C include paths.)
- I am aware obviously it is not finding windows.h.

When EdkSetup.bat runs it is trying to find the correct version of Visual 
studio and run "Vcvars32.bat" to setup the corrects build environment.
There is a Variable set when you install and open Visual Studio 
"VSxxxCOMNTOOLS" .
Take a look to see if you have that variable set.  It is probable VS90COMNTOOLS 
and should be set to the path of where Visual Studio was installed.
- Where is the variable defined? Is it VSxxxCOMNTOOLS or VS90COMNTOOS?  What if 
it is defined in multiple places?
Visual Studio has many folders, which path are you referring to? Root? include? 
library?



From: laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>
To: guyen...@hotmail.com<mailto:guyen...@hotmail.com>; 
edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
Subject: RE: [edk2] trouble building edkii
Date: Wed, 16 Dec 2015 21:23:58 +
>From your Build.log file:
fatal error C1083: Ca
nnot open include file: 'windows.h': No such file or directory

typically this is a result of something in your environment not set correctly, 
(i.e. the C include paths.)  When EdkSetup.bat runs it is trying to find the 
correct version of Visual studio and run "Vcvars32.bat" to setup the corrects 
build environment.  There is a Variable set when you install and open Visual 
Studio "VSxxxCOMNTOOLS" .
Take a look to see if you have that variable set.  It is probable VS90COMNTOOLS 
and should be set to the path of where Visual Studio was installed.

thanks,
Laurie

laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>

Intel SSG/STO/EBP
(503) 712-9395


From: Guyen Gankhuyag [mailto:guyen...@hotmail.com]
Sent: Wednesday, December 16, 2015 12:25 PM
To: Jarlstrom, Laurie; edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
Subject: RE: [edk2] trouble building edkii

When you installed Microsoft Visual Studio did you open it for the first time 
and Select C++ for the language?
- I did not. is it necessary? I did not see anywhere in the buildnotes or 
anywhere else that it needs to be necessary.

For other question, please read through my original e-mail.
> From: laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>
> To: guyen...@hotmail.com<mailto:guyen...@hotmail.com>; 
> edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
> Subject: RE: [edk2] trouble building edkii
> Date: Wed, 16 Dec 2015 19:54:34 +
>
> Hi,
> First off what is your build environment? Which version of Microsoft Visual 
> studio are you using? Is your Windows OS 32 or 64 bit? When you installed 
> Microsoft Visual Studio did you open it for the first time and Select C++ for 
> the language?
>
>
>
> thanks,
> Laurie
>
> laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>
>
> Intel SSG/STO/EBP
> (503) 712-9395
>
>
>
> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Guyen 
> Gankhuyag
> Sent: Wednesday, December 16, 2015 11:32 AM
> To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
> Subject: [edk2] trouble building edkii
>
>
>
>
> Hello there, I downloaded the EDKII package from

Re: [edk2] trouble building edkii

2015-12-16 Thread Jarlstrom, Laurie
>From your Build.log file:
fatal error C1083: Ca
nnot open include file: 'windows.h': No such file or directory

typically this is a result of something in your environment not set correctly, 
(i.e. the C include paths.)  When EdkSetup.bat runs it is trying to find the 
correct version of Visual studio and run "Vcvars32.bat" to setup the corrects 
build environment.  There is a Variable set when you install and open Visual 
Studio "VSxxxCOMNTOOLS" .
Take a look to see if you have that variable set.  It is probable VS90COMNTOOLS 
and should be set to the path of where Visual Studio was installed.

thanks,
Laurie

laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>

Intel SSG/STO/EBP
(503) 712-9395


From: Guyen Gankhuyag [mailto:guyen...@hotmail.com]
Sent: Wednesday, December 16, 2015 12:25 PM
To: Jarlstrom, Laurie; edk2-devel@lists.01.org
Subject: RE: [edk2] trouble building edkii

When you installed Microsoft Visual Studio did you open it for the first time 
and Select C++ for the language?
- I did not. is it necessary? I did not see anywhere in the buildnotes or 
anywhere else that it needs to be necessary.

For other question, please read through my original e-mail.
> From: laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>
> To: guyen...@hotmail.com<mailto:guyen...@hotmail.com>; 
> edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
> Subject: RE: [edk2] trouble building edkii
> Date: Wed, 16 Dec 2015 19:54:34 +
>
> Hi,
> First off what is your build environment? Which version of Microsoft Visual 
> studio are you using? Is your Windows OS 32 or 64 bit? When you installed 
> Microsoft Visual Studio did you open it for the first time and Select C++ for 
> the language?
>
>
>
> thanks,
> Laurie
>
> laurie.jarlst...@intel.com<mailto:laurie.jarlst...@intel.com>
>
> Intel SSG/STO/EBP
> (503) 712-9395
>
>
>
> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Guyen 
> Gankhuyag
> Sent: Wednesday, December 16, 2015 11:32 AM
> To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
> Subject: [edk2] trouble building edkii
>
>
>
>
> Hello there, I downloaded the EDKII package from tianocore.org and setup 
> build environment using the guidelines in BuildNotes2.txt also necessary stps 
> in Patch-HOWTO.txt (attached).However I am having trouble building the edk 
> with build -t VS2008x86 switch. Can someone help on this one?Here is the 
> summary:
> WINDOWS 7 x64 running on VMVS2008 SP1 32-bit installed (when building i used 
> build -t VS2008x86 as the buildnotes says explicitly says to do so if VS 
> 32-bit is instlaled onto x64 O/S.
> edk is extracted to c:\myworkspace
> Attached:build.log as it misses and can not find windows.h and build fails. 
> build.helloworld.log - attempt to build helloworld from buidnotes2.txt and 
> Patch-HOWTO - instruction i followed to build.
> Thanks.,
>
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] trouble building edkii

2015-12-16 Thread Jarlstrom, Laurie
Hi,
First off what is your build environment?  Which version of Microsoft Visual 
studio are you using? Is your Windows OS 32 or 64 bit?  When you installed 
Microsoft Visual Studio did you open it for the first time and Select C++ for 
the language?



thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395



-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Guyen 
Gankhuyag
Sent: Wednesday, December 16, 2015 11:32 AM
To: edk2-devel@lists.01.org
Subject: [edk2] trouble building edkii




Hello there, I downloaded the EDKII package from tianocore.org and setup build 
environment using the guidelines in   BuildNotes2.txt also necessary stps in 
Patch-HOWTO.txt (attached).However I am having trouble building the edk with 
build -t VS2008x86 switch. Can someone help on this one?Here is the summary:
WINDOWS 7 x64 running on VMVS2008 SP1 32-bit installed (when building i used 
build -t VS2008x86 as the buildnotes says explicitly says to do so if VS 32-bit 
is instlaled onto x64 O/S.
edk is extracted to c:\myworkspace
Attached:build.log as it misses and can not find windows.h and build fails. 

  build.helloworld.log - attempt to build helloworld 
from buidnotes2.txt and Patch-HOWTO - instruction i followed to build.
Thanks., 
  
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] Git transition for EDK2

2015-12-03 Thread Jarlstrom, Laurie
To: EDK2 Community

This message is to notify you that near the end of January 2016 the active 
repository for EDK2 development will switch from using SourceForge to GitHub. 
The repository found at SourceForge will continue to be a read-only mirror of 
the master branch on GitHub.

A number of reasons have prompted us to switch to git most notably the 
communities request for us to make this change. Other reasons include the 
ability to have better commit logs and the use of branching to aid in reviewing 
larger changes and the addition of new features.

As part of this change a number of process changes will be adopted to support 
better use of git. This includes the method for sending out patches for review 
and other minor changes. Information regarding these changes will be found on 
http://tianocore.org  in the following weeks. In addition to the process 
changes documentation for users new to git will also be provided.

Please post any comments or questions related to this transition to the 
Edk2-devel mailing list or reply to the email message

Thanks, Tianocore.org Administration
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] C Coding Standards Specification disappeared

2015-11-04 Thread Jarlstrom, Laurie
Here is a link to a Draft to the 2.1 version :  
https://sourceforge.net/projects/edk2/files/Specifications/CCS_2_1_Draft.pdf/download
 

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP
(503) 712-9395



-Original Message-
From: Bruce Cran [mailto:br...@cran.org.uk] 
Sent: Wednesday, November 04, 2015 8:54 AM
To: Jarlstrom, Laurie; Sheng, Cecil (HPS SW); edk2-devel@lists.01.org
Subject: Re: [edk2] C Coding Standards Specification disappeared

On 11/4/15 9:44 AM, Jarlstrom, Laurie wrote:
> The Previous C Coding Standards Guide is currently being updated.  A new 
> revision will be posted shortly.

Could someone post that information on the website please?

By 'website' I guess I mean both the sourceforge _and_ github wikis, since for 
some reason they're both active.


-- 
Bruce

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] C Coding Standards Specification disappeared

2015-11-04 Thread Jarlstrom, Laurie
The Previous C Coding Standards Guide is currently being updated.  A new 
revision will be posted shortly.

thanks,
Laurie
 
laurie.jarlst...@intel.com

Intel SSG/STO/EBP


-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Bruce 
Cran
Sent: Tuesday, November 03, 2015 8:30 PM
To: Sheng, Cecil (HPS SW); edk2-devel@lists.01.org
Subject: Re: [edk2] C Coding Standards Specification disappeared

On 11/3/15 8:12 PM, Sheng, Cecil (HPS SW) wrote:

> The "EDK II C Coding Standards Specification v2" listed on 
> http://tianocore.sourceforge.net/wiki/EDK_II_User_Documentation cannot be 
> found.  Is it moved to another place or ?

It may have been removed because it's fairly ancient (2008) and listed as a 
draft document - but if you still want to read it I managed to save a copy at 
http://www.bluestop.org/edk2/docs/specs/EDK2_C_Coding_Standards_Specification.pdf
.

Other documents are available at http://www.bluestop.org/edk2/docs (and
edk2 API documentation for UDK2014 SP1 is at 
http://www.bluestop.org/edk2/docs/UDK2014.SP1/ .

--
Bruce

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel