8/07/2015

EfiPy2 - Hello World

Description

To output string by EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL in EFI_SYSTEM_TABLE,
Import EfiPy2 in python and output string, directly.

source code

#
# HelloEfiPy2.py
#

import EfiPy2 as EfiPy

EfiPy.gST.ConOut[0].OutputString(EfiPy.gST.ConOut, "Hello EfiPy2\r\n")

screenshot






No comments:

Post a Comment