In process.h there are two functions declared as prototypes switch_user_regs() and switch_kernel_regs() but they weren't in the process.c file and the process state function requires it. I looked everywhere for them in other files but I haven't found them yet. I am pretty sure they just call the assembly labels but wanted to make sure.
In process.h there are two functions declared as prototypes switch_user_regs() and switch_kernel_regs() but they weren't in the process.c file and the process state function requires it. I looked everywhere for them in other files but I haven't found them yet. I am pretty sure they just call the assembly labels but wanted to make sure.