feat: implemented errno, strtol. Started ustar. Reformatted headers and

code. Added some self-tests. Started prepwork for vfs.
This commit is contained in:
2021-03-14 21:14:22 +01:00
parent 586b8191b4
commit 77c8dca72a
39 changed files with 504 additions and 60 deletions

View File

@@ -4,6 +4,7 @@
#ifndef NEW_KERNEL_DRIVER_H
#define NEW_KERNEL_DRIVER_H
#include <myke/attributes.h>
#include <myke/preprocessor_format_zero.h>
@@ -12,8 +13,8 @@
#endif
#define DRIVER_CAT(a, b) DRIVER_DUMMY() a ## _ ## b
#define DRIVER_DUMMY()
#define SECT_NAME_(a,b) "." #a "." #b
#define SECT_NAME(a,b) SECT_NAME_(a, b)
#define SECT_NAME_(a, b) "." #a "." #b
#define SECT_NAME(a, b) SECT_NAME_(a, b)
#define GENERIC_DRIVER(drivername, order) \
static struct drivername DRIVER_CAT(drivername, counter) \