Datasheet

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
.