]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/EnrollDefaultKeys: extract typedefs to a header file
authorLaszlo Ersek <lersek@redhat.com>
Thu, 25 Apr 2019 13:27:57 +0000 (15:27 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 30 Apr 2019 12:26:37 +0000 (14:26 +0200)
commit1c9418fcafe3d2eea336be092d9cdd29762537fe
tree1c3587fc6591949870028eab4bd52163b915bc7f
parenta2491a6c82e4c64df637ab60493a5a625bd4c521
OvmfPkg/EnrollDefaultKeys: extract typedefs to a header file

"EnrollDefaultKeys.c" defines three structure types: SINGLE_HEADER,
REPEATING_HEADER, and SETTINGS. The definitions are scattered over the C
file, and lack high-level summary comments.

Extract the structures to "EnrollDefaultKeys.h", and add the missing
comments.

Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien.grall@arm.com>
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1747
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Gary Lin <glin@suse.com>
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.h [new file with mode: 0644]
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf