13.10.1. The semihosting controls for RVISS targets

The following semihosting controls for RVISS are shown in Figure 13.27:

Semihosting_State

Indicates the semihosting state:

1

Semihosting enabled

0

Semihosting disabled

ARM_SWI

The SVC used for semihosting in ARM state.

Thumb_SWI

The SVC used for semihosting in Thumb state.

Errno

The errno value of the last SVC operation manipulating files, returned by the SYS_ERRNO SVC.

Heap_Base

The lowest address of the system heap, returned by the SYS_HEAPINFO SVC.

Heap_Limit

The highest address available for the system heap, returned by the SYS_HEAPINFO SVC.

Stack_Base

The lowest address of the system stack, returned by the SYS_HEAPINFO SVC.

Stack_Limit

The highest address available for the system stack, returned by the SYS_HEAPINFO SVC.

Vector_Catch

A bit mask of the current vector catch, showing the processor exceptions that are currently enabled.

Note

It is suggested that you do not modify this in the Registers view. Instead, enable or disable the processor exceptions.

Addr_Cmd_Line

The address of the command line in ARM space that is to receive the command line to the image (SWI_GetEnv).

Addr_User_Stack

The address of the user stack (SWI_GetEnv).

Number_Of_Files_Open

The number of files that the semihosting operations currently have open.

You can also use the @semihost_symbolname symbols to access these values. To get a list of these symbols, enter the following CLI command:

reginfo,access,match:semihost

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential