Documentation

Miri.Interpreter.CpuAffinity

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]
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
      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
          Instances For
            def Miri.Interpreter.CpuAffinity.getAffinity {P S MD : Type} (h : Hooks P S MD) (pid size mask : OpTy P) (dest : MD) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Miri.Interpreter.CpuAffinity.setAffinity {P S MD : Type} (h : Hooks P S MD) (pid size mask : OpTy P) (dest : MD) :
              Equations
              • One or more equations did not get rendered due to their size.
              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.
                Instances For