Files
opensbi/include/sbi_utils/sys/htif.h
Anup Patel a9eac67ad0 include: sbi_platform: Combine reboot and shutdown into one callback
We can achieve shutdown, cold reboot, and warm reboot using just
one sbi_platform callback so we combine system_reboot() and
system_shutdown() callbacks into one system_reset() callback.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
2020-04-27 14:35:29 +05:30

20 lines
324 B
C

/*
* 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_reset(u32 type);
#endif