microkernel
microkernel copied to clipboard
[x86] Improve `reset_stack` Macro
Description
We should improve the reset_stack
assembly macro so that it is generic on the stack size.
Code Snippet
https://github.com/nanvix/microkernel/blob/53d77ca5636287a918ff5c501b6f77070fbb8085/include/asm/x86.S#L38-L44