]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libefi: make efichar.h more usable in stand code
authortsoome <tsoome@FreeBSD.org>
Thu, 14 Dec 2017 16:41:52 +0000 (16:41 +0000)
committertsoome <tsoome@FreeBSD.org>
Thu, 14 Dec 2017 16:41:52 +0000 (16:41 +0000)
commit9e63f130a72cf489dab79e12c2375679bd63cf52
treec06736696ba7f3dbdc6604f80062ef024272f1d7
parent5c3755a444df354e1cca2b02d2c8214966eeb965
libefi: make efichar.h more usable in stand code

Use _STANDALONE for guard expression in efichar.[ch] and add efi_char typedef.
clean up boot1.c, and replace for loop in efipart.c with ucs2len().

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D13488
stand/efi/boot1/boot1.c
stand/efi/include/efichar.h
stand/efi/libefi/Makefile
stand/efi/libefi/efichar.c
stand/efi/libefi/efipart.c