7.22 SYS_SYSTEM (0x12)

Passes a command to the host command-line interpreter.

This enables you to execute a system command such as dir, ls, or pwd. The terminal I/O is on the host, and is not visible to the target.

CAUTION:

The command passed to the host is executed on the host. Ensure that any command passed has no unintended consequences.

Entry

On entry, R1 contains a pointer to a two-word argument block:

word 1

points to a string to be passed to the host command-line interpreter

word 2

the length of the string.

Return

On exit, R0 contains the return status.

Non-ConfidentialPDF file icon PDF versionARM DUI0471M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.