diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-06-13 14:24:51 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-07-18 07:58:50 +0200 |
commit | edf236f9fcf257c5266cead0c3bc45087d937e65 (patch) | |
tree | 1a143b0cccbab5cbb9b3ebe65b485710a5183df1 /openbsd/OpenBSDProcessList.h | |
parent | f608fc5c8aeb020a4ddb3297b71690f15a6179bf (diff) |
OpenBSD: support offline CPUs and hot-swapping
Diffstat (limited to 'openbsd/OpenBSDProcessList.h')
-rw-r--r-- | openbsd/OpenBSDProcessList.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/OpenBSDProcessList.h b/openbsd/OpenBSDProcessList.h index 864b5817..0a47773f 100644 --- a/openbsd/OpenBSDProcessList.h +++ b/openbsd/OpenBSDProcessList.h @@ -36,14 +36,14 @@ typedef struct CPUData_ { unsigned long long int intrPeriod; unsigned long long int idlePeriod; - unsigned int cpuIndex; + bool online; } CPUData; typedef struct OpenBSDProcessList_ { ProcessList super; kvm_t* kd; - CPUData* cpus; + CPUData* cpuData; int cpuSpeed; } OpenBSDProcessList; |