aboutsummaryrefslogtreecommitdiffstats
path: root/include/lib
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2020-01-29 09:51:21 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-01-29 09:51:21 +0000
commit8efec9e097781fb9598f7923b3ae9a8487a8635f (patch)
treeccfe3ea82cd15e0e41084bf6c7665629c44e40c7 /include/lib
parentc1f118f1a724108bed7be2822244e6a06a28ab93 (diff)
parent61cbd41d7914032d3df1e49c1c1efbe2f9cb4c39 (diff)
downloadplatform_external_arm-trusted-firmware-8efec9e097781fb9598f7923b3ae9a8487a8635f.tar.gz
platform_external_arm-trusted-firmware-8efec9e097781fb9598f7923b3ae9a8487a8635f.tar.bz2
platform_external_arm-trusted-firmware-8efec9e097781fb9598f7923b3ae9a8487a8635f.zip
Merge changes I0fb7cf79,Ia8eb4710 into integration
* changes: qemu: Implement qemu_system_off via semihosting. qemu: Support ARM_LINUX_KERNEL_AS_BL33 to pass FDT address.
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/semihosting.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib/semihosting.h b/include/lib/semihosting.h
index 006c7b750..24b030cfd 100644
--- a/include/lib/semihosting.h
+++ b/include/lib/semihosting.h
@@ -23,6 +23,7 @@
#define SEMIHOSTING_SYS_REMOVE 0x0E
#define SEMIHOSTING_SYS_SYSTEM 0x12
#define SEMIHOSTING_SYS_ERRNO 0x13
+#define SEMIHOSTING_SYS_EXIT 0x18
#define FOPEN_MODE_R 0x0
#define FOPEN_MODE_RB 0x1
@@ -54,5 +55,6 @@ long semihosting_download_file(const char *file_name,
void semihosting_write_char(char character);
void semihosting_write_string(char *string);
char semihosting_read_char(void);
+void semihosting_exit(uint32_t reason, uint32_t subcode);
#endif /* SEMIHOSTING_H */