Hi All,
This function will output nothing or strange-output in my real Lenovo_Q270
machine, follow is the key point:
//for(UINTN j=0;j<sizeof(RSDP->Signature);j++)
//{
//output byte by byte,or custom range...,or just some
specified bytes in the string...
//AsciiPrint("%c",j,SignatureStr[j]);
//}
------------------------------------------------------------------------------------------
I had read the Print function note,but I don't understand its meaning for
ascii string using AsciiPrint, for example:If someone want print a part of
ascii-string byte by byte...,
I am newer to write uefi code,May be I mis-understand it,Can anybody clarify it
,or give the full instruction about AsciiPrint.
type:
%
Print a %%.
c
The argument is a Unicode character. ASCII characters can be printed using
this type too by making sure bits 8..15 of the argument are set to 0.
attachment is the full test code.
my-platform-infomation:
udk2017-vs2015x86
build command:build -p ShellPkg\ShellPkg.dsc -m
ShellPkg\Application\querytable\querytable.inf -a X64 -b RELEASE
uefi shell version 2.2
cpu:Intel (r) G4520 3.6Ghz
mem:Sumsang 16G 2133
motherboard:Lenovo_Q270
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel