Hi,
  Recently,I want to exactly know what is filepath/filename,I come across this 
specification,
Follow information come from UEFI_Shell_2.2.pdf,


3.7 File Names
fs-path      := [fs-map-name] [fs-divider][fs-dirs][fs-name]
fs-map-name  := identifier :
fs-divider        := \ | /
fs-dirs             := fs-dir | 
                         fs-dirs fs-dir
fs-dir             := fs-name fs-divider
fs-name       := fs-file-name .fs-file-ext
fs-file-name := one or more ASCII characters, excluding * ? < > \ / ” : )


#I want to say follow  example is a fs-dirs,relatively;
fo\foo\       


#but follow example is also a fs-dirs,absolutely;
FS0:\fo\foo\


#so the define should be:
fs-dirs-absolute     := fs-map-name fs-divider | fs-map-name fs-divider 
fs-dirs-relative
fs-dirs-relative       := fs-dir | 
                                  fs-dirs-relative fs-dir
fs-dir                      := fs-name fs-divider


#is that right?


thanks
by krishna
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to