Pinned shims/cpu_affinity.rs and the FreeBSD cpuset_getaffinity arm. Masks use target c_ulong chunks, not host endianness or pointer width.
@[reducible, inline]
Instances For
@[reducible, inline]
Equations
Instances For
Equations
Instances For
def
Miri.Interpreter.CpuAffinity.set
(chunkSize : Nat)
(endian : ABI.Endian)
(mask : Mask)
(cpu : Nat)
:
Source set ignores out-of-range CPUs before querying chunk layout.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.CpuAffinity.initial
(chunkSize : Nat)
(endian : ABI.Endian)
(cpuCount : UInt32)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.CpuAffinity.fromBytes
(chunkSize : Nat)
(endian : ABI.Endian)
(cpuCount : UInt32)
(bytes : ByteArray)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
- os : String
- endian : ABI.Endian
- cpuCount : UInt32
- readPointer : OpTy P → M S (Memory.Pointer (Option P))
- isNull : Memory.Pointer (Option P) → M S Bool
- active : M S Concurrency.ThreadId
- linuxTid : UInt32 → M S (Option Concurrency.ThreadId)
- readBytes : Memory.Pointer (Option P) → UInt64 → M S ByteArray
- writeBytes : Memory.Pointer (Option P) → ByteArray → M S Unit
Instances For
def
Miri.Interpreter.CpuAffinity.freeBsdGetAffinity
{P S MD : Type}
(h : Hooks P S MD)
(level which id size mask : OpTy P)
(dest : MD)
:
Source FreeBSD legacy shim, including unused libc queries and null-pointer precedence over unsupported level/which values.
Equations
- One or more equations did not get rendered due to their size.