feat: implemented errno, strtol. Started ustar. Reformatted headers and
code. Added some self-tests. Started prepwork for vfs.
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user