Semihosting configuration

Semihosting is a method of target software running on the model to communicate with the host environment. This model permits the target C library to access I/O facilities of the host computer, filesystem, keyboard input, clock, and so on.

These parameters are repeated in groups cpu0-cpu3 for each core in the processor. See the following table:

Table 30. Core configuration parameters

cpu[n].semihosting-ARM_SVCARM SVC number to be treated as a semihosted call0x123456
cpu[n].semihosting-Thumb_SVCThumb SVC number to be treated as a semihosted call0xab
cpu[n].semihosting-cmd_lineProgram name and arguments to be passed as argc, argv to target programs using the semihosted C library. 
cpu[n].semihosting-enableEnable semihosting of SVC instructionstrue
cpu[n].semihosting-heap_baseVirtual address of heap base0x00000000
cpu[n].semihosting-heap_limitVirtual address of top of heap0x0f000000
cpu[n].semihosting-stack_baseVirtual address of base of descending stack0x10000000
cpu[n].semihosting-stack_limitVirtual address of stack limit0x0f000000

Show/hideSee also

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0575D