Locations
┌─────────────────────────┬────┬────┬────┬────────────────────────────────────────┐│Field Name │Off │Len │Type│Description │ ├─────────────────────────┼────┼────┼────┼────────────────────────────────────────┤ │MuxTableEntry │+0 │9 │S │Mux Table Entry │ ├─────────────────────────┼────┼────┼────┼────────────────────────────────────────┤ │MuxLink │+0 │2 │W │Selector Link to next entry. Used to │ │ │ │ │ │chain entries for a MuxWait request │ ├─────────────────────────┼────┼────┼────┼────────────────────────────────────────┤ │MuxThreadID │+2 │2 │W │Thread Slot ID of waiter │ ├─────────────────────────┼────┼────┼────┼────────────────────────────────────────┤ │MuxType │+4 │1 │B │Semaphore type. │ ├─────────────────────────┼────┼────┼────┼────────────────────────────────────────┤ │MuxSemID │+5 │4 │D │Mux Semaphore handle. │ └─────────────────────────┴────┴────┴────┴────────────────────────────────────────┘
MuxType flag definitions
┌──────────────────┬─────┬────────────────────────────────────────┐ │name │value│description │ ├──────────────────┼─────┼────────────────────────────────────────┤ │MUXTYPE_CLEAR │0 │the mux table entry is clear │ ├──────────────────┼─────┼────────────────────────────────────────┤ │MUXTYPE_SYSSEM │1 │the ID is a system sem address │ ├──────────────────┼─────┼────────────────────────────────────────┤ │MUXTYPE_RAMHANDLE │2 │the ID is a ram sem handle:offset │ ├──────────────────┼─────┼────────────────────────────────────────┤ │MUXTRYE_RAMPHYS │3 │the ID is a ram sem physical address │ ├──────────────────┼─────┼────────────────────────────────────────┤ │MUXTYPE_EVENTSEM │4 │the ID for a 32-bit event sem │ └──────────────────┴─────┴────────────────────────────────────────┘