Re: [edk2] How to determine if Secure Boot is enabled

2014-09-15 Thread J. E.
rn -1; if(SecureBootMode == 1) return 1; return 0;} Date: Mon, 15 Sep 2014 01:08:44 +1000 From: nszero...@hotmail.com To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] How to determine if Secure Boot is enabled thanks i will give that a try --- Original Message --- From:

Re: [edk2] How to determine if Secure Boot is enabled

2014-09-14 Thread J. E.
thanks i will give that a try --- Original Message --- From: "Thomas Rognon" Sent: 15 September 2014 12:43 AM To: "edk2-devel" Subject: Re: [edk2] How to determine if Secure Boot is enabled You use the GetVariable() function from runtime services. The name of the variab

Re: [edk2] How to determine if Secure Boot is enabled

2014-09-14 Thread Thomas Rognon
You use the GetVariable() function from runtime services. The name of the variable is SecureBoot and the guid is EFI_GLOBAL_VARIABLE. Refer to UEFI spec section 3.2 Thomas Rognon On Sep 14, 2014 8:58 AM, "J. E." wrote: > > How do I check if Secure Boot is enabled or disabled in an EFI app? > > >

Re: [edk2] How to determine if Secure Boot is enabled

2014-09-14 Thread Neeraj Ladkani
One way could be to query HII variable in your applications. On Sun, Sep 14, 2014 at 7:26 PM, J. E. wrote: > > How do I check if Secure Boot is enabled or disabled in an EFI app? > > > -- > Want excitement? > Manually up

[edk2] How to determine if Secure Boot is enabled

2014-09-14 Thread J. E.
How do I check if Secure Boot is enabled or disabled in an EFI app? -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce