Differences From Artifact [9ee84449d7]:
- File arch/typesize.c — 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: 1393) [annotate] [blame] [check-ins using]
To Artifact [71add081ad]:
- File arch/typesize.c — part of check-in [0c20d256a6] at 2019-07-27 05:28:14 on branch trunk — port header macro files to m4; delete gpp infra; fix glaring syntax errors in kcore/type.h (user: lexi, size: 1398) [annotate] [blame] [check-ins using]
25 25 found_sz = 1, sflag(type_sz, "unsigned " #type); \ 26 26 if (!found_ofs && sizeof(type) == sizeof(ptrdiff_t)) \ 27 27 found_ofs = 1, sflag(type_offset, "signed " #type); \ 28 28 } 29 29 30 30 int main() { 31 31 int found_sz = 0, found_ofs = 0, found_type = 0; 32 - iflag(byte_bits,CHAR_BIT); 32 + iflag(arch_byte_bits,CHAR_BIT); 33 33 describe_integral(char,char); 34 34 describe_integral(short,short); 35 35 describe_integral(int,int); 36 36 describe_integral(long,long); 37 37 describe_integral(long long,llong); 38 38 printf("\n"); 39 39 return 0; 40 40 }