macro_rules! restore_registers_regular {
    () => { ... };
}
Expand description

An assembly block for restoring regular x86_64 registers by popping them off of the stack.

This assembly statement ends with an explicit ret instruction at the end, which is the final component of a context switch operation. Note that this is intentional and required in order to accommodate the noreturn option is required by Rust’s naked functions.