diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-04 16:51:48 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-04 16:51:48 -0800 |
commit | bdde9460b923ab61fad678bf1e3f0da04e1d94ee (patch) | |
tree | 455782ac27db2b2acbffee591159fd30558df7d2 /src/target/armv4_5.h | |
parent | acd6d3399486110e69db8d5ec752e10067c29ad0 (diff) |
ARM: remove semihosting globals
Store a flag and errno in in "struct arm".
Have "poll" output report when semihosting is active.
Shrink some of the affected lines.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv4_5.h')
-rw-r--r-- | src/target/armv4_5.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index 6c83c3b3..615e4864 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -103,6 +103,12 @@ struct arm /** Flag reporting unavailability of the BKPT instruction. */ bool is_armv4; + /** Flag reporting whether semihosting is active. */ + bool is_semihosting; + + /** Value to be returned by semihosting SYS_ERRNO request. */ + int semihosting_errno; + /** Backpointer to the target. */ struct target *target; |