diff options
author | Matthew Garrett <matthew.garrett@nebula.com> | 2013-04-15 13:09:46 -0700 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-04-15 21:31:09 +0100 |
commit | cc5a080c5d40c36089bb08a8a16fa3fc7047fe0f (patch) | |
tree | bd3160fc5b3ce71036d5e218ecd5e3dbf1632d02 /arch/x86/mm/pat_internal.h | |
parent | 0635eb8a54cf0fea64b174bb68bc36b9c3d622db (diff) | |
download | blackbird-obmc-linux-cc5a080c5d40c36089bb08a8a16fa3fc7047fe0f.tar.gz blackbird-obmc-linux-cc5a080c5d40c36089bb08a8a16fa3fc7047fe0f.zip |
efi: Pass boot services variable info to runtime code
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 fails if the platform doesn't garbage collect on every boot. Thankfully,
calling QueryVariableInfo() while still inside boot services gives a more
reliable answer. This patch passes that information from the EFI boot stub
up to the efi platform code.
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/x86/mm/pat_internal.h')
0 files changed, 0 insertions, 0 deletions