lkml.org 
[lkml]   [2013]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: access efi variables
On 09/14/13 00:37, H. Peter Anvin wrote:
> On 09/13/2013 08:37 AM, Arend van Spriel wrote:
>> I need to obtain a uefi variable so I went looking at the API in
>> include/linux/efi.h. I found the following definition:
>>
>> But according to the specs the variable I need to obtain is 2k bytes.
>> Should I expect trouble :-p
>>
>
> efivarfs doesn't have those limitations.

Thanks, Peter

Looking into efivarfs it seems to use the functions that I looked at in
efi.h so I guess I am misinterpreting the 1024 bytes limitation in the
comment (either that or you are mistaken ;-) ). I need to access the
variable from within a device driver so using efivarfs does not feel
like the way to go here.

Regards,
Arend



\
 
 \ /
  Last update: 2013-09-14 19:21    [W:0.194 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site