[stage1] Add exception handlers... which somehow don't work?

This commit is contained in:
TuxSH
2018-05-21 02:24:41 +02:00
parent 83d9d874e6
commit 43d1816ac2
6 changed files with 224 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#ifndef FUSEE_EXCEPTION_HANDLERS_H
#define FUSEE_EXCEPTION_HANDLERS_H
#include <stdint.h>
#include <stddef.h>
/* Copies up to len bytes, stops and returns the read length on data fault. */
size_t safecpy(void *dst, const void *src, size_t len);
void setup_exception_handlers(void);
#endif