Simple VFS layer

This commit is contained in:
2025-08-15 01:41:11 +02:00
parent b470fb03da
commit d91330ba73
16 changed files with 403 additions and 2 deletions

15
kernel/assert.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef ASSERT_H_
#define ASSERT_H_
#include "kprintf.h"
#include "hal/hal.h"
#define ASSERT(mod, cond, fmt, ...) \
do { \
if (!(cond)) { \
ERR(mod, fmt, ##__VA_ARGS__); \
hal_hang(); \
} \
} while(0)
#endif // ASSERT_H_