10#ifndef SEMIHOSTING_LIB_H_
11#define SEMIHOSTING_LIB_H_
20#define SEMIHOST_FILE_MODE_READ (0 << 2)
21#define SEMIHOST_FILE_MODE_WRITE (1 << 2)
22#define SEMIHOST_FILE_MODE_APPEND (2 << 2)
23#define SEMIHOST_FILE_MODE_UPDATE (1 << 1)
24#define SEMIHOST_FILE_MODE_BINARY (1 << 0)
25#define SEMIHOST_FILE_MODE_ASCII (0 << 0)
28SemihostConnectionSupported (
109 IN CHAR8 *NewFileName
113SemihostReadCharacter (
118SemihostWriteCharacter (
129 IN CHAR8 *CommandLine
RETURN_STATUS SemihostFileTmpName(OUT VOID *Buffer, IN UINT8 Identifier, IN UINTN Length)
RETURN_STATUS SemihostFileRename(IN CHAR8 *FileName, IN CHAR8 *NewFileName)