Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
kernel stack and the esp register
I'm running fedora 6 on an 32 bit intel processor and I would like to known where the esp register gets its value when a user process switches to kernel mode...I looked around but can't find any definitive answers maybe someone here can shed some light on this topic...Thanks Gerard4143
found the answer...Gerard4143
So....please do share the answer with us, you never know, someone else may need the answer too and you would be doing them a great service. Enjoy!
I found an answer on this web site - section 3.3.2 Task State Segment
Section 3.3. Process Switch
Now I haven't verified any of this information but for now I'm assuming its correct until proven otherwise...Gerard4143
Well I did some coding and the kernel stack pointer (%esp) for a user process is indeed stored in the TSS(task state segment)....Gerard4143