From b235f49f31d11e68019c42f48b6641c37e4c986e Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 22 Aug 2021 20:38:48 +0300 Subject: Integrated libfdt + Added new common/ directory, into which code that should be shared with init and kernel is to be added. Currently string.c and bytes.c. Code in common/ should be marked with __weak, so as to allow the arch to implement a better, more optimised version of the function if possible/required. + Created include/apos/types.h with macros essentially providing the libc limits.h and stdint.h. At the moment I use gcc/clang predefined macros for most things. --- include/apos/compiler_attributes.h | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 include/apos/compiler_attributes.h (limited to 'include/apos/compiler_attributes.h') diff --git a/include/apos/compiler_attributes.h b/include/apos/compiler_attributes.h deleted file mode 100644 index 45b7ac3..0000000 --- a/include/apos/compiler_attributes.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef APOS_COMPILER_ATTRIBUTES_H - -#define __section(section) __attribute__((__section__(section))) -#define __noinline __attribute__((noinline)) - -#endif /* APOS_COMPILER_ATTRIBUTES_H */ -- cgit v1.3