Re: access efi variables

2013-09-17 Thread Matt Fleming
On Sat, 14 Sep, at 07:01:19PM, Arend van Spriel wrote: > 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

Re: access efi variables

2013-09-17 Thread Matt Fleming
On Sat, 14 Sep, at 07:01:19PM, Arend van Spriel wrote: 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

Re: access efi variables

2013-09-14 Thread Arend van Spriel
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

Re: access efi variables

2013-09-14 Thread Arend van Spriel
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

Re: access efi variables

2013-09-13 Thread H. Peter Anvin
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

Re: access efi variables

2013-09-13 Thread Arend van Spriel
On 09/13/2013 05:37 PM, 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: /* * The maximum size of VariableName + Data = 1024 * Therefore, it's reasonable to save that much * space in each part

access efi variables

2013-09-13 Thread Arend van Spriel
I need to obtain a uefi variable so I went looking at the API in include/linux/efi.h. I found the following definition: /* * The maximum size of VariableName + Data = 1024 * Therefore, it's reasonable to save that much * space in each part of the structure, * and we use a page for

access efi variables

2013-09-13 Thread Arend van Spriel
I need to obtain a uefi variable so I went looking at the API in include/linux/efi.h. I found the following definition: /* * The maximum size of VariableName + Data = 1024 * Therefore, it's reasonable to save that much * space in each part of the structure, * and we use a page for

Re: access efi variables

2013-09-13 Thread Arend van Spriel
On 09/13/2013 05:37 PM, 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: /* * The maximum size of VariableName + Data = 1024 * Therefore, it's reasonable to save that much * space in each part

Re: access efi variables

2013-09-13 Thread H. Peter Anvin
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