[U-Boot] [PATCH v4 00/05] efi_loader: EFI_UNICODE_COLLATION_PROTOCOL

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Sep 4 17:34:54 UTC 2018


This patchset implements the EFI_UNICODE_COLLATION_PROTOCOL and provides
unit tests.

An error in Unicode handling in the FAT file system shall be fixed after
merging Takahiro's FAT patches. Until then some redundancy between old and
new Unicode functions remains.

v4:
	reformat Makefile
	add comments for Unicode code points
	use language code 'en' instead of 'en-US'
v3:
	drop accepted patches
	remove codes < 0x80 in capitalization table
	add a test for capitalization of latin O with diaresis
v2:
	use CONFIG_IS_ENABLED(EFI_LOADER) instead of
	defined(CONFIG_EFI_LOADER) && !defined(CONFIG_SPL_BUILD)
	add configuration option EFI_UNICODE_CAPITALIZATION
	use ut_assert*() for testing
	test illegal Unicode sequences
	add more comments

Heinrich Schuchardt (5):
  efi_loader: capitalization table
  lib: charset: upper/lower case conversion
  test: tests for utf_to_lower() utf_to_upper().
  efi_loader: EFI_UNICODE_COLLATION_PROTOCOL
  efi_selftest: EFI_UNICODE_COLLATION_PROTOCOL

 MAINTAINERS                                   |    3 +
 include/capitalization.h                      | 2028 +++++++++++++++++
 include/charset.h                             |   16 +
 include/cp1250.h                              |   40 +
 include/cp437.h                               |   40 +
 include/efi_api.h                             |   21 +
 include/efi_loader.h                          |    5 +
 lib/charset.c                                 |   47 +
 lib/efi_loader/Kconfig                        |   10 +
 lib/efi_loader/Makefile                       |   15 +-
 lib/efi_loader/efi_boottime.c                 |    6 +
 lib/efi_loader/efi_unicode_collation.c        |  329 +++
 lib/efi_selftest/Makefile                     |    1 +
 .../efi_selftest_unicode_collation.c          |  260 +++
 test/unicode_ut.c                             |   34 +
 15 files changed, 2852 insertions(+), 3 deletions(-)
 create mode 100644 include/capitalization.h
 create mode 100644 include/cp1250.h
 create mode 100644 include/cp437.h
 create mode 100644 lib/efi_loader/efi_unicode_collation.c
 create mode 100644 lib/efi_selftest/efi_selftest_unicode_collation.c

-- 
2.18.0



More information about the U-Boot mailing list