diff options
author | James Clarke <jrtc27@jrtc27.com> | 2020-02-01 04:07:51 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-02-17 15:12:52 +0300 |
commit | c2f23cc6edd7ee2dc6a07991312d44233080ae6b (patch) | |
tree | 2c9326e9c0f1c4ac18e0b8f90962a91f0fba543b /include/sbi_utils/sys/htif.h | |
parent | c2bfa2bff30312679cfee986bbed9b974c6760bb (diff) | |
download | opensbi-c2f23cc6edd7ee2dc6a07991312d44233080ae6b.tar.xz |
platform: Add Spike initial support
This patch adds initial platform support Spike emulator.
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi_utils/sys/htif.h')
-rw-r--r-- | include/sbi_utils/sys/htif.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/sbi_utils/sys/htif.h b/include/sbi_utils/sys/htif.h new file mode 100644 index 0000000..42903e8 --- /dev/null +++ b/include/sbi_utils/sys/htif.h @@ -0,0 +1,19 @@ +/* + * SPDX-License-Identifier: BSD-3-Clause + * + * Copyright (c) 2010-2020, The Regents of the University of California + * (Regents). All Rights Reserved. + */ + +#ifndef __SYS_HTIF_H__ +#define __SYS_HTIF_H__ + +#include <sbi/sbi_types.h> + +void htif_putc(char ch); + +int htif_getc(void); + +int htif_system_down(u32 type); + +#endif |