Reputation:
AS we know TSS does not store general purpose registers and CR3 in long.
How general purpose registers and parameters are saved and restored?
And its hard for me to understand how stack operation is performed in long mode, please explain it.
Upvotes: 1
Views: 72
Reputation: 532
The question needs a bit more clarity. What architecture are you talking about?
For the save/restore issue, you may want to search the net for Procedure Calling Convention on the architecture that you need. For ex, here is one for AMD64 from CMU: http://www.cs.cmu.edu/~fp/courses/15213-s07/misc/asm64-handout.pdf
Upvotes: 1