Differences From Artifact [9abe158651]:
- File kcore/def.h.m — part of check-in [e794c5edef] at 2019-06-29 09:31:50 on branch trunk — add a bunch of code, port the header mechanism to gpp; add a fuckton of definitions and compatibility header code; notably, add core function kstop and x86.lin.{32,64} impl. update docs accordingly (user: lexi, size: 925) [annotate] [blame] [check-ins using]
To Artifact [9c53671363]:
- File kcore/def.h.m — part of check-in [6479e060a3] at 2019-07-26 09:51:02 on branch trunk — major update. fix ridiculous old type size determination mechanism. mmap is still broken and i'm not sure why; the syscall does not appear to be going through correctly - see posix_mmap, kmheapa, and kcore/testbin.exe.fn (user: lexi, size: 961) [annotate] [blame] [check-ins using]
- File kcore/old/def.h.m — part of check-in [a8d93823f1] at 2019-08-18 13:42:35 on branch trunk — add functions, generate C syscall table (user: lexi, size: 961) [annotate] [blame] [check-ins using]
- File legacy/kcore/def.h.m — part of check-in [724bbbbe91] at 2019-08-19 02:18:11 on branch trunk — clean out legacy code (user: lexi, size: 961) [annotate] [blame] [check-ins using]
1 1 --- kcore/def.h.m → <k/def.h> 2 2 --- ~ lexi hale <lexi@hale.su> 3 3 --- this file gathers information on the environment it's 4 4 --- being compiled in, setting macros that other headers 5 5 --- need. it will be emitted as <k/def.h>. 6 6 --- vim: ft=c 7 +#ifndef KIdef 8 +#define KIdef 7 9 8 10 [ifdef atom_target_bits] 9 11 [define target: [atom_target_arch].[atom_target_os].[atom_target_bits]] 10 12 #define KVbits [atom_target_bits] 11 13 [else] 12 14 [define target: [atom_target_arch].[atom_target_os]] 13 15 [endif] ................................................................................ 26 28 #define Kpragma(p) _Pragma(#p) 27 29 #if defined(__GNUC__) || defined(__clang__) 28 30 # define Kerror(msg) Kpragma(GCC error #msg) 29 31 #else 30 32 # define Kerror(msg) Kpragma(message #msg) 31 33 #endif 32 34 #define Knoimpl(fn) Kerror(no implementation of fn for platform [target]) 35 + 36 +#endif