Skip to content

Unify Interrupt{,Error}Stack.

Jacob Lorentzon requested to merge 4lDO2/kernel:not_atomic_errcode into master

The XCHG instruction is suboptimal for saving registers, even though the asm looks cleaner. Instead, the error code and rax can be rearranged after the rest is pushed. By passing the error code in a register, InterruptStack and InterruptErrorStack can be unified.

Merge request reports