TianoCore EDK2 master
Loading...
Searching...
No Matches
SemihostPrivate.h File Reference

Go to the source code of this file.

Data Structures

struct  SEMIHOST_FILE_OPEN_BLOCK
 
struct  SEMIHOST_FILE_READ_WRITE_BLOCK
 
struct  SEMIHOST_FILE_SEEK_BLOCK
 
struct  SEMIHOST_FILE_TMPNAME_BLOCK
 
struct  SEMIHOST_FILE_REMOVE_BLOCK
 
struct  SEMIHOST_FILE_RENAME_BLOCK
 
struct  SEMIHOST_SYSTEM_BLOCK
 

Macros

#define SEMIHOST_SUPPORTED   FALSE
 
#define SEMIHOST_SYS_OPEN(OpenBlock)   (-1)
 
#define SEMIHOST_SYS_CLOSE(Handle)   (-1)
 
#define SEMIHOST_SYS_WRITE0(String)
 
#define SEMIHOST_SYS_WRITEC(Character)
 
#define SEMIHOST_SYS_WRITE(WriteBlock)   (0)
 
#define SEMIHOST_SYS_READ(ReadBlock)   ((ReadBlock)->Length)
 
#define SEMIHOST_SYS_READC()   ('x')
 
#define SEMIHOST_SYS_SEEK(SeekBlock)   (-1)
 
#define SEMIHOST_SYS_FLEN(Handle)   (-1)
 
#define SEMIHOST_SYS_TMPNAME(TmpNameBlock)   (-1)
 
#define SEMIHOST_SYS_REMOVE(RemoveBlock)   (-1)
 
#define SEMIHOST_SYS_RENAME(RenameBlock)   (-1)
 
#define SEMIHOST_SYS_SYSTEM(SystemBlock)   (-1)
 

Detailed Description

Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Copyright (c) 2013 - 2021, Arm Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SemihostPrivate.h.

Macro Definition Documentation

◆ SEMIHOST_SUPPORTED

#define SEMIHOST_SUPPORTED   FALSE

Definition at line 194 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_CLOSE

#define SEMIHOST_SYS_CLOSE (   Handle)    (-1)

Definition at line 197 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_FLEN

#define SEMIHOST_SYS_FLEN (   Handle)    (-1)

Definition at line 204 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_OPEN

#define SEMIHOST_SYS_OPEN (   OpenBlock)    (-1)

Definition at line 196 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_READ

#define SEMIHOST_SYS_READ (   ReadBlock)    ((ReadBlock)->Length)

Definition at line 201 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_READC

#define SEMIHOST_SYS_READC ( )    ('x')

Definition at line 202 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_REMOVE

#define SEMIHOST_SYS_REMOVE (   RemoveBlock)    (-1)

Definition at line 206 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_RENAME

#define SEMIHOST_SYS_RENAME (   RenameBlock)    (-1)

Definition at line 207 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_SEEK

#define SEMIHOST_SYS_SEEK (   SeekBlock)    (-1)

Definition at line 203 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_SYSTEM

#define SEMIHOST_SYS_SYSTEM (   SystemBlock)    (-1)

Definition at line 208 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_TMPNAME

#define SEMIHOST_SYS_TMPNAME (   TmpNameBlock)    (-1)

Definition at line 205 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_WRITE

#define SEMIHOST_SYS_WRITE (   WriteBlock)    (0)

Definition at line 200 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_WRITE0

#define SEMIHOST_SYS_WRITE0 (   String)

Definition at line 198 of file SemihostPrivate.h.

◆ SEMIHOST_SYS_WRITEC

#define SEMIHOST_SYS_WRITEC (   Character)

Definition at line 199 of file SemihostPrivate.h.