aboutsummaryrefslogtreecommitdiff
path: root/target-lm32/README
diff options
context:
space:
mode:
Diffstat (limited to 'target-lm32/README')
-rw-r--r--target-lm32/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/target-lm32/README b/target-lm32/README
index a1c2c7eb1e..03ddbffc54 100644
--- a/target-lm32/README
+++ b/target-lm32/README
@@ -26,6 +26,15 @@ first BSP which instantiate this model. A (32 bit) write to 0xfff0000
causes a vm shutdown.
+Semihosting
+-----------
+Semihosting on this target is supported. Some system calls like read, write
+and exit are executed on the host if semihosting is enabled. See
+target/lm32-semi.c for all supported system calls. Emulation aware programs
+can use this mechanism to shut down the virtual machine and print to the
+host console. See the tcg tests for an example.
+
+
Special instructions
--------------------
The translation recognizes one special instruction to halt the cpu: