restructure project

This commit is contained in:
Yanyan Jiang 2020-08-12 05:43:20 +00:00 committed by Zihao Yu
parent a317d8cce1
commit 960dc907e9
87 changed files with 23 additions and 17 deletions

View file

@ -0,0 +1,13 @@
#ifndef __TRAP_H__
#define __TRAP_H__
#include <am.h>
#include <klib.h>
#include <klib-macros.h>
__attribute__((noinline))
void check(bool cond) {
if (!cond) halt(1);
}
#endif