Differences From Artifact [f7d600acca]:
- File
src/OFSystemInfo.m
— part of check-in
[5358e9ea6a]
at
2019-08-01 20:14:35
on branch trunk
— Split threading.[hm] into multiple files
This allows the runtime to only link against the parts it needs, without
pulling in unnecessary parts like thread spawning, TLS and conditions. (user: js, size: 15754) [annotate] [blame] [check-ins using]
To Artifact [34858741f4]:
- File src/OFSystemInfo.m — part of check-in [3292a6fdbc] at 2019-08-10 02:06:53 on branch trunk — Clean up the AmigaOS 4 library mess (user: js, size: 15621) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
29 30 31 32 33 34 35 | # include <sys/utsname.h> #endif #if defined(OF_MACOS) || defined(OF_NETBSD) # include <sys/sysctl.h> #endif #if defined(OF_AMIGAOS4) | < < < | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # include <sys/utsname.h> #endif #if defined(OF_MACOS) || defined(OF_NETBSD) # include <sys/sysctl.h> #endif #if defined(OF_AMIGAOS4) # include <exec/exectags.h> # include <proto/exec.h> #elif defined(OF_MORPHOS) # include <exec/system.h> # include <proto/exec.h> #endif |
︙ | ︙ | |||
97 98 99 100 101 102 103 | #if defined(OF_X86_64) || defined(OF_X86) struct x86_regs { uint32_t eax, ebx, ecx, edx; }; #endif | < < < < | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | #if defined(OF_X86_64) || defined(OF_X86) struct x86_regs { uint32_t eax, ebx, ecx, edx; }; #endif static size_t pageSize = 4096; static size_t numberOfCPUs = 1; static OFString *operatingSystemName = nil; static OFString *operatingSystemVersion = nil; static void initOperatingSystemName(void) |
︙ | ︙ |