1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Pull request for UEFI sub-system for v2019.10-rc1 (2)

* Implement the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event.
* Address errors of type -Werror=address-of-packed-member when building
  with GCC9.1
* Fix an error when adding memory add addres 0x00000000.
* Rework some code comments for Sphinx compliance.
This commit is contained in:
Tom Rini
2019-07-23 22:29:53 -04:00
24 changed files with 563 additions and 159 deletions

View File

@@ -670,9 +670,18 @@ err:
return ret;
}
static void gpt_convert_efi_name_to_char(char *s, efi_char16_t *es, int n)
/**
* gpt_convert_efi_name_to_char() - convert u16 string to char string
*
* TODO: this conversion only supports ANSI characters
*
* @s: target buffer
* @es: u16 string to be converted
* @n: size of target buffer
*/
static void gpt_convert_efi_name_to_char(char *s, void *es, int n)
{
char *ess = (char *)es;
char *ess = es;
int i, j;
memset(s, '\0', n);