HomeFreeBSD

Improve handling of the EFI map types[] array.

Description

Improve handling of the EFI map types[] array.

Use nitems(), do not assume EFI_MD_TYPE_ contiguous allocation, in
particular, switch to use designated array initializers.

Reviewed by: jhb (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (gjb)

Details

Provenance
kibAuthored on
Reviewer
jhb
Parents
rS338532: arc4random_stir() is not needed.
Branches
Unknown
Tags
Unknown