This is very dangerous. Since we don't restore ebx/esi/edi as the caller of process_run expects, we could corrupt the registers in the kernel if the way GCC arranges our variables changes. We should explicitly surround the call to process_run with clobbers.
This is very dangerous. Since we don't restore ebx/esi/edi as the caller of
process_run
expects, we could corrupt the registers in the kernel if the way GCC arranges our variables changes. We should explicitly surround the call toprocess_run
with clobbers.