mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
efi_loader: legal characters in StrToFat()
The UEFI specification does not specify if the characters that have to be replaced by underscore in function StrToFat() of the Unicode collation protocol are those forbidden in FAT long names or those in FAT short names. EDK2 and UEFI SCT assume it is those forbidden in FAT 8.3 short names. Adjust the list of forbidden characters. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
336476a959
commit
3796156a80
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@
|
|||
#include <cp437.h>
|
||||
#include <efi_loader.h>
|
||||
|
||||
/* Characters that may not be used in file names */
|
||||
static const char illegal[] = "<>:\"/\\|?*\x7f";
|
||||
/* Characters that may not be used in FAT 8.3 file names */
|
||||
static const char illegal[] = "+,<=>:;\"/\\|?*[]\x7f";
|
||||
|
||||
/*
|
||||
* EDK2 assumes codepage 1250 when creating FAT 8.3 file names.
|
||||
|
|
Loading…
Reference in a new issue