Hello,
I'm trying to print a simple ASCII string to the console. I decided to
try
AsciiPrint() from the MDE package. I started having problems right away. The
function
wouldn't print an Ascii string. Here's my code:
#include
#include
#include
INTN EFIAPI ShellAppMain (IN UINTN A
Try %a for ASCII
-Original Message-
From: Stephen Polkowski [mailto:step...@centtech.com]
Sent: Monday, March 25, 2013 4:02 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] AsciiPrint() and %s
Hello,
I'm trying to print a simple ASCII string to the console. I decided to
You want to check the PrintLib.h file to find out which flags to use. %a will
print ascii and if I remember correctly this is noted as a difference from
standard usage.
-Jaben
-Original Message-
From: Stephen Polkowski [mailto:step...@centtech.com]
Sent: Monday, March 25, 2013 4:02 PM
Print() is a Unicode format string. AsciiPrint() is an Ascii format string.
UEFI strings are all Unicode, so %s defaults to Unicode.
Print(L"Hello World");
AsciiPrint ("Hello World");
The %types are the same in both cases you can get more info at:
https://edk2.svn.sourceforge.net/svnroot/edk2/
I tried this, but many of current platform does not seem to implement the
creation of Block I/O from ExtSCSIPassthru. If I don't install Block I/O, I
don't see my drives available for OS installation.
So is this mandatory for the SCSI HBA Drivers to install Block I/O by
themselves?
Thanks
sat
Hi, Sathya
There must have somebody to install BlockIo, either SCSI HBA driver or upper
level driver. It depends on your implementation.
EdkII have provided well-layered ScsiBus and ScsiDisk driver implementation, it
consumes EXT_SCSI_PASS_THRU and produces BLOCK_IO, DISK_INFO and DISK_IO. so