Stage2: Add exception handlers

This commit is contained in:
TuxSH
2018-05-21 03:50:53 +02:00
parent c1687905a3
commit bf2c6dff25
5 changed files with 195 additions and 5 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