szhou42 / osdev

Hobby os project with GUI
GNU General Public License v3.0
378 stars 61 forks source link

missing function in process.c #7

Open ravenleeblack opened 1 month ago

ravenleeblack commented 1 month ago

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.