[PATCH 1/3] efi: Determine how much space is used by boot services-only variables

2013-04-09 Thread Matthew Garrett
EFI variables can be flagged as being accessible only within boot services. This makes it awkward for us to figure out how much space they use at runtime. In theory we could figure this out by simply comparing the results from QueryVariableInfo() to the space used by all of our variables, but that

[PATCH 1/3] efi: Determine how much space is used by boot services-only variables

2013-04-09 Thread Matthew Garrett
EFI variables can be flagged as being accessible only within boot services. This makes it awkward for us to figure out how much space they use at runtime. In theory we could figure this out by simply comparing the results from QueryVariableInfo() to the space used by all of our variables, but that