Differences From Artifact [a8432f0c63]:
- File src/OFSystemInfo.m — part of check-in [9903dedecb] at 2020-11-02 00:56:47 on branch trunk — OFSystemInfo: Minor cleanup (user: js, size: 16374) [annotate] [blame] [check-ins using]
To Artifact [97e07274dd]:
- File
src/OFSystemInfo.m
— part of check-in
[e73d0702d0]
at
2020-11-02 01:11:34
on branch trunk
— OFSystemInfo: Do not use sysctl to get CPU vendor
The sysctl name is specific to x86 on macOS and NetBSD, so cannot be
used for other architectures and the CPU vendor on x86 can just be
obtained via cpuid. (user: js, size: 15997) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
564 565 566 567 568 569 570 | buffer[i++] = regs.eax; buffer[i++] = regs.ebx; buffer[i++] = regs.ecx; buffer[i++] = regs.edx; } return [OFString stringWithCString: (char *)buffer | < < < < < < < < < < < < < < | 564 565 566 567 568 569 570 571 572 573 574 575 576 577 | buffer[i++] = regs.eax; buffer[i++] = regs.ebx; buffer[i++] = regs.ecx; buffer[i++] = regs.edx; } return [OFString stringWithCString: (char *)buffer encoding: OF_STRING_ENCODING_ASCII]; #elif defined(OF_AMIGAOS4) CONST_STRPTR model, version; GetCPUInfoTags(GCIT_ModelString, &model, GCIT_VersionString, &version, TAG_END); |
︙ | ︙ |