15 lines
284 B
C
15 lines
284 B
C
#pragma once
|
|
|
|
typedef struct {
|
|
long error;
|
|
long value;
|
|
} sbiret;
|
|
|
|
void putchar(char ch);
|
|
int getchar(void);
|
|
void sbi_shutdown(void);
|
|
|
|
sbiret sbi_get_impl_id(void);
|
|
sbiret sbi_get_spec_version(void);
|
|
sbiret sbi_hart_stop(void);
|
|
sbiret sbi_hart_get_status(unsigned long hartid); |