public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/5] subject: efi_loader: add HII database protocol
@ 2019-01-21  3:12 AKASHI Takahiro
  2019-01-21  3:12 ` [U-Boot] [PATCH v3 1/5] efi_loader: Initial HII database protocols AKASHI Takahiro
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: AKASHI Takahiro @ 2019-01-21  3:12 UTC (permalink / raw)
  To: u-boot

HII database protocol is the last missing (major?) piece of code so that
we can run unmodified EDKII's shell and UEFI SCT on EFI-enabled u-boot.

The original code was initially written by Leif and Rob a year ago[1],
and now I'm reworking it. The implementation has not been much
enhanced from the original, but I tried to give it clearer implementation
to be able to add more functionality easily later on.
I also addressed the comments by Alex[2] and added a self test on
request of Heinrich.

HII configuration routing protocol and access protocol have only
a skeleton and should be implemented when we need to have *drivers*
that require configuration mechanism.

# Please note that a bunch of warnings are generated by checkpatch.pl,
# but there are also good reasons for not fixing them.

Changes in v3 (Jan 21, 2019)
* drope v2's patch#1("lib: add u16_strcpy/strdup functions") as it has
  been merged
* define a "key" value as u32 in efi_key_descriptor
* simplify "if" condition in export_package_lists()
* access "packed" structures of HII packages through get_unaligned_xx()
* implement GetSecondaryLanguages()
* compare a language in case-insensitive way in GetString() & GetLanguages()
* cosmetic changes (including variable/struct member names)

Changes in v2 (Nov 16, 2018)
* add some descriptions to newly added functions
* rename EFI_HII_PACKAGE_[TYPE|LEN]_* to __EFI_HII_PACKAGE_[TYPE|LEN]_*
  as they are of internal use only
* cast a return value (of efi_status_t) to "unsigned int" for printing

[1] https://lists.denx.de/pipermail/u-boot/2017-October/308999.html
[2] https://lists.denx.de/pipermail/u-boot/2017-October/309116.html

AKASHI Takahiro (4):
  efi: hii: add guid package support
  efi: hii: add keyboard layout package support
  efi: hii: add HII config routing/access protocols
  efi_selftest: add HII database protocols test

Leif Lindholm (1):
  efi_loader: Initial HII database protocols

 include/efi_api.h                        |  421 ++++++++-
 include/efi_loader.h                     |    8 +
 lib/efi_loader/Makefile                  |    1 +
 lib/efi_loader/efi_boottime.c            |   18 +
 lib/efi_loader/efi_hii.c                 | 1095 ++++++++++++++++++++++
 lib/efi_loader/efi_hii_config.c          |  146 +++
 lib/efi_selftest/Makefile                |    1 +
 lib/efi_selftest/efi_selftest_hii.c      | 1046 +++++++++++++++++++++
 lib/efi_selftest/efi_selftest_hii_data.c |  453 +++++++++
 9 files changed, 3188 insertions(+), 1 deletion(-)
 create mode 100644 lib/efi_loader/efi_hii.c
 create mode 100644 lib/efi_loader/efi_hii_config.c
 create mode 100644 lib/efi_selftest/efi_selftest_hii.c
 create mode 100644 lib/efi_selftest/efi_selftest_hii_data.c

-- 
2.19.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-02-12  1:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21  3:12 [U-Boot] [PATCH v3 0/5] subject: efi_loader: add HII database protocol AKASHI Takahiro
2019-01-21  3:12 ` [U-Boot] [PATCH v3 1/5] efi_loader: Initial HII database protocols AKASHI Takahiro
     [not found]   ` <154824847481.44817.15540110415651237647@achrid.arch.suse.de>
2019-02-09 16:19     ` [U-Boot] [U-Boot, v3, " Heinrich Schuchardt
2019-02-11 14:28       ` Alexander Graf
2019-02-12  1:41         ` AKASHI Takahiro
2019-01-21  3:12 ` [U-Boot] [PATCH v3 2/5] efi: hii: add guid package support AKASHI Takahiro
2019-01-21  3:12 ` [U-Boot] [PATCH v3 3/5] efi: hii: add keyboard layout " AKASHI Takahiro
2019-01-21  3:13 ` [U-Boot] [PATCH v3 4/5] efi: hii: add HII config routing/access protocols AKASHI Takahiro
2019-01-21  3:13 ` [U-Boot] [PATCH v3 5/5] efi_selftest: add HII database protocols test AKASHI Takahiro
2019-01-22  9:48 ` [U-Boot] [PATCH v3 0/5] subject: efi_loader: add HII database protocol Alexander Graf
2019-01-22 21:13   ` Heinrich Schuchardt
2019-01-23  5:11     ` AKASHI Takahiro
2019-01-23  6:35       ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox