Hi all,
Could someone please explain to me how I can do a context switch?
I'm build a kernel, I've an interrupt of timer that it interrup every so often, when the interrupt occurs I want to do a switch context, because I need to work with several processes concurrently.
I'm storing the registers this way
link_github from line 39 to 74 and I'am calling the fountion this way
link_github line 3 and line 31. But when a run my code, It throw me a exception number 7 (Access failure on Load).
Could someone please tell me why it causes this problem and if I am doing it correctly or is there another way?