diff options
author | Soby Mathew <soby.mathew@arm.com> | 2020-01-29 09:51:21 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2020-01-29 09:51:21 +0000 |
commit | 8efec9e097781fb9598f7923b3ae9a8487a8635f (patch) | |
tree | ccfe3ea82cd15e0e41084bf6c7665629c44e40c7 /include/lib | |
parent | c1f118f1a724108bed7be2822244e6a06a28ab93 (diff) | |
parent | 61cbd41d7914032d3df1e49c1c1efbe2f9cb4c39 (diff) | |
download | platform_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.h | 2 |
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 */ |