Misc.lean
Thread Identity and Affinity Syscalls
Trusted syscall dispatch bundle (Syscall., Syscall.) re-exporting Kernel. for single-thread set_tid_address, sched_getaffinity, getpid, and gettid.
@[expose] public sectionnamespace Arm64namespace Syscalldef miscTable
Dispatch table for single-thread identity and CPU-affinity syscalls (set_tid_address, sched_getaffinity, getpid, gettid).
def miscTable : List (BitVec 64 × (State → State)) :=
[(SYS_SET_TID_ADDRESS, execSetTidAddress),
(SYS_SCHED_GETAFFINITY, execSchedGetaffinity),
(SYS_GETPID, execGetpid),
(SYS_GETTID, execGetpid)]1 declaration not shown (lines 36–37): theorems, which Lean checks, or definitions that no headline statement uses
Arm64.
end Syscallend Arm64