feature: added third_party TCC into userland

This commit is contained in:
boreddevnl
2026-05-09 01:11:29 +02:00
parent a62b22faa9
commit 230e404a98
57 changed files with 1289 additions and 26 deletions

View File

@@ -0,0 +1,20 @@
#ifndef BOREDOS_LIBC_SETJMP_H
#define BOREDOS_LIBC_SETJMP_H
#include <stdint.h>
typedef struct boredos_jmp_buf_s {
uint64_t rbx;
uint64_t rbp;
uint64_t r12;
uint64_t r13;
uint64_t r14;
uint64_t r15;
uint64_t rsp;
uint64_t rip;
} jmp_buf[1];
int setjmp(jmp_buf env) __attribute__((returns_twice, noinline));
void longjmp(jmp_buf env, int val) __attribute__((noreturn, noinline));
#endif