50 "srn_fiber_frame must match switch_x86_64.S");
60#define SRN_FIBER_STACK_ALIGN 16U
67#define SRN_FIBER_MXCSR_DEFAULT 0x1F80U
69#define SRN_FIBER_FCW_DEFAULT 0x037FU
void srn_fiber_trampoline(void)
Defined in switch_x86_64.S.
struct srn_fiber_frame srn_fiber_frame_t
srn_fiber_frame is the exact frame srn_fiber_swap (switch_x86_64.S) pushes and pops,...
srn_fiber_frame is the exact frame srn_fiber_swap (switch_x86_64.S) pushes and pops,...
uint16_t fcw
8 fnstcw/fldcw 8(rsp)
uint32_t mxcsr
0 stmxcsr/ldmxcsr (rsp)
uintptr_t ret_addr
64 resume address (= srn_fiber_trampoline)
uintptr_t r13
32 entry function
uintptr_t r12
40 entry argument
uint32_t _pad2
12 rounds the FP control block to 16 bytes