]> git.ipfire.org Git - thirdparty/mdadm.git/commit - platform-intel.c
imsm: reading of UEFI variables needs an update
authorHawrylewicz Czarnowski, Przemyslaw <przemyslaw.hawrylewicz.czarnowski@intel.com>
Sun, 27 Mar 2011 23:42:07 +0000 (10:42 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 27 Mar 2011 23:42:07 +0000 (10:42 +1100)
commitaae4c1116639633ad7e48f0fd603f6d6cd39a653
tree986ca43b46d40119c0c247b420398682b98c5cb4
parent96687b797fe65dbac75a1c5b3a00ae9a4e921efb
imsm: reading of UEFI variables needs an update

Content of EFI variable is stored in "data" file. Moreover size of data
provided by given variable can be initially validated by reading value of
"size" file.
Function read_efi_variable() has been introduced to simplify the code.

Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
platform-intel.c