diff --git a/Readme.md b/Readme.md index d2f931c..12eaf61 100644 --- a/Readme.md +++ b/Readme.md @@ -22,7 +22,7 @@ libcpuid support varies depending on the features: |Name|Build|x86 MSR|ARM CPUID| |----|----|-------|---------| -|DragonFly BSD|:grey_question: |:grey_question: ([`cpuctl` kernel module](https://man.freebsd.org/cgi/man.cgi?query=cpuctl))|:x:| +|DragonFly BSD|:heavy_check_mark: |:grey_question: ([`cpuctl` kernel module](https://man.freebsd.org/cgi/man.cgi?query=cpuctl))|:x:| |FreeBSD|:heavy_check_mark: |:heavy_check_mark: ([`cpuctl` kernel module](https://man.freebsd.org/cgi/man.cgi?query=cpuctl))|:heavy_check_mark:¹ ([`cpuid` out-of-tree kernel module](https://github.com/anrieff/libcpuid/tree/master/drivers/arm/freebsd))| |Linux|:heavy_check_mark: ![UNIX workflow status](https://github.com/anrieff/libcpuid/actions/workflows/unix.yml/badge.svg)|:heavy_check_mark: ([`msr` kernel module](https://man7.org/linux/man-pages/man4/msr.4.html))|:heavy_check_mark:¹ ([`cpuid` out-of-tree kernel module](https://github.com/anrieff/libcpuid/tree/master/drivers/arm/linux))| |macOS|:heavy_check_mark: ![UNIX workflow status](https://github.com/anrieff/libcpuid/actions/workflows/unix.yml/badge.svg)|:x:|:x:| diff --git a/libcpuid/cpuid_main.c b/libcpuid/cpuid_main.c index 0acc74e..dd757d8 100644 --- a/libcpuid/cpuid_main.c +++ b/libcpuid/cpuid_main.c @@ -456,7 +456,7 @@ static bool set_cpu_affinity(logical_cpu_t logical_cpu) #define SET_CPU_AFFINITY #endif /* defined sun || defined __sun */ -#if defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __bsdi__ || defined __QNX__ +#if defined __FreeBSD__ || defined __DragonFly__ || defined __OpenBSD__ || defined __NetBSD__ || defined __bsdi__ || defined __QNX__ #include #include @@ -469,7 +469,7 @@ static int get_total_cpus(void) return ncpus; } #define GET_TOTAL_CPUS_DEFINED -#endif /* defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __bsdi__ || defined __QNX__ */ +#endif /* defined __FreeBSD__ || defined __DragonFly__ || defined __OpenBSD__ || defined __NetBSD__ || defined __bsdi__ || defined __QNX__ */ #if defined __FreeBSD__ #include