To output string by EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL in EFI_SYSTEM_TABLE,
Import EfiPy in python source code and output string, directly.
source code
#
# HelloWorld.py
#
import EfiPy
# gST->ConOut[0].OutputString (gST->ConOut, L"Hello World");
EfiPy.gST.ConOut[0].OutputString(EfiPy.gST.ConOut, u"Hello World\r\n")
screenshot
No comments:
Post a Comment