Semihosting parameters

Semihosting is a method of running your target software on the model to communicate with the host environment. The AEM models permit the target C library to access the I/O facilities of the host computer, such as the filesystem, keyboard input, and clock.

The semihosting parameters are repeated in groups for each processor in the multiprocessor, from cpu0 onwards.

Table 44. Semihosting parameters

cpu[n].semihosting-ARM_SVCA32 SVC number for semihosted callsint


cpu[n].semihosting-Thumb_SVCT32 SVC number for semihosted callsint


cpu[n].semihosting-cmd_lineProgram name and arguments, argc, argv, for target programs using the semihosted C librarystring--
cpu[n].semihosting-cwdVirtual address of CWDstring--
cpu[n].semihosting-enableEnable semihosting of SVC instructionsboolfalse-truetrue
cpu[n].semihosting-heap_baseVirtual address of heap baseint-0x00000000
cpu[n].semihosting-heap_limitVirtual address of top of heapint-0x0F000000
cpu[n].semihosting-stack_baseVirtual address of base of descending stackint-0x10000000
cpu[n].semihosting-stack_limitVirtual address of stack limitint-0x0F000000

Show/hideSee also

Copyright © 2011-2013 ARM. All rights reserved.ARM DUI 0575F