Skip to content

Latest commit

 

History

History
20 lines (9 loc) · 348 Bytes

File metadata and controls

20 lines (9 loc) · 348 Bytes

Question 112

How are the model specific registers used in the system call mechanism?

Answer

To perform syscall the CPU:

  • Loads cs from STAR;
  • Changes rflags with regards to SFMASK;
  • Saves rip into rcx; and
  • Initializes rip with LSTAR value and takes new cs and ss from STAR.

prev +++ next