Stage2: Add exception handlers
This commit is contained in:
12
fusee/fusee-secondary/src/exception_handlers.h
Normal file
12
fusee/fusee-secondary/src/exception_handlers.h
Normal 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
|
||||
Reference in New Issue
Block a user