// Single-CPU scheduler virtualization of Cosmos 3.0.94's native EH chain.
// No allocation, managed call, IRQ state change or thread switch occurs here.
.intel_syntax noprefix
.text
.extern __cosmos_exinfo_stack_head
.global XfeRuntimeGetExInfoHead
.type XfeRuntimeGetExInfoHead,@function
XfeRuntimeGetExInfoHead:
mov rax, [rip + __cosmos_exinfo_stack_head]
ret
.size XfeRuntimeGetExInfoHead, .-XfeRuntimeGetExInfoHead
.global XfeRuntimeSetExInfoHead
.type XfeRuntimeSetExInfoHead,@function
XfeRuntimeSetExInfoHead:
mov [rip + __cosmos_exinfo_stack_head], rdi
ret
.size XfeRuntimeSetExInfoHead, .-XfeRuntimeSetExInfoHead
.section .note.GNU-stack,"",@progbits
// Single-CPU scheduler virtualization of Cosmos 3.0.94's native EH chain.
// No allocation, managed call, IRQ state change or thread switch occurs here.
.intel_syntax noprefix
.text
.extern __cosmos_exinfo_stack_head
.global XfeRuntimeGetExInfoHead
.type XfeRuntimeGetExInfoHead,@function
XfeRuntimeGetExInfoHead:
mov rax, [rip + __cosmos_exinfo_stack_head]
ret
.size XfeRuntimeGetExInfoHead, .-XfeRuntimeGetExInfoHead
.global XfeRuntimeSetExInfoHead
.type XfeRuntimeSetExInfoHead,@function
XfeRuntimeSetExInfoHead:
mov [rip + __cosmos_exinfo_stack_head], rdi
ret
.size XfeRuntimeSetExInfoHead, .-XfeRuntimeSetExInfoHead
.section .note.GNU-stack,"",@progbits