further semihosting support

This commit is contained in:
gabriel
2024-04-30 08:48:44 +02:00
parent e83f7996bc
commit 9aaf428620
9 changed files with 57 additions and 32 deletions

View File

@@ -1,8 +1,11 @@
#ifndef SEMIHOSTING_H
#define SEMIHOSTING_H
#include <unistd.h>
#include <sys/types.h>
//int32_t trace_write(const char* buf, uint32_t nbyte);
void sh_seek(int, off_t);
void sh_write0(const char* buf);
void sh_writec(char c);
char sh_readc(void);