platydoc-data/xnu/osfmk/kern/thread.h
2,211 lines · · Source index
Referenced in 27 chapters
- Architecture and object relationships
- A practical route through XNU
- Source-reference index
- The task and its shared read-only data
- The thread, its BSD extension and protected associations
- Credentials: immutable identity and writable lifetime state
- Mach runtime: execution, scheduling, and synchronization
- Objects and lifecycle
- Suspension, stopping and aborting threads
- From runnable thread to CPU execution
- From runnable thread to executing context
- AST flavor reference: every bit and its consumer
- Priority, QoS, timeshare decay, and quantum expiration
- Realtime policy, deadlines, and processor-set runqueues
- Waiting, locking, and priority inheritance
- Wait registration, mutex contention, and priority propagation
- Reader-writer locks: admission, upgrades and wakeup lifetime
- From an ARM fault to a Mach exception reply
- Security mechanisms and policy boundaries
- ARM64 thread-state conversion and restoration
- SPTM, TXM, and Exclaves: security boundaries and entry/exit map
- SPTM: frame authority, protected transitions, and XNU's responsibilities
- TXM: signatures, protected ownership, and executable mappings
- Exclaves: execution, resources, and security boundaries
- Exclaves execution: traps, scheduler requests, upcalls, and interrupt return
- EL1, EL2, and Apple protected execution
- Ownership, synchronization, and execution context
Loading source…