ARM VERSION 1.2 Arkusz Danych Strona 113

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 176
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 112
ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-53
4.11.2 Hostif_ConsolePrint
This function prints the text specified in the format string to the ARMulator console.
Under AXD, the text appears in the console window.
Syntax
void Hostif_ConsolePrint(const struct RDI_HostosInterface *hostif,
const char *format, ...)
where:
hostif
is the handle for the host interface.
format
is a pointer to a printf-style formatted output string.
...
are a variable number of parameters associated with
format
.
Note
Note
Use
Hostif_PrettyPrint()
to display startup messages.
4.11.3 Hostif_PrettyPrint
This function prints a string in the same way as
Hostif_ConsolePrint()
, but in addition
performs line-break checks so that wordwrap is avoided. Use it to display startup
messages.
Syntax
void Hostif_PrettyPrint(const struct RDI_HostosInterface *hostif,
struct hashblk * /*toolconf*/ config,
const char *format, ...)
where:
hostif
is the handle for the host interface.
config
is a pointer to the toolconf configuration database of the model. This
value is available in the state datastructure of the model, as defined
between the
BEGIN_STATE_DECL()
and
END_STATE_DECL()
macros (see Basic
model interface on page 4-12).
format
is a pointer to a printf-style formatted output string.
...
are a variable number of parameters associated with
format
.
Przeglądanie stron 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 175 176

Komentarze do niniejszej Instrukcji

Brak uwag