System Services Flashcards
(12 cards)
How an application requests for the operating system to perform some specific operation.
System Services
The interface between an executing process and the operating system
System Services
A system service call is logically similar to calling a function, where the function code is located within the __________________.
operating system
The function may require __________ to operate, which is why control must be transferred to the operating system.
privileges
To call a system service, the first step is to _______________________.
determine which system service is desired.
The general process is that the system service call code is placed in the ______ register.
rax
The _________ is a number that has been assigned for the specific system service being requested
call code
What registers are used for arguments for system services.
rdi, rsi, rdx, r10, r8, r9
The __________ instruction will pause the current process and transfer control to the operating system which will attempt to perform the service specified in the rax register.
syscall
What is the information held by the rdi register for system service call?
Output location
What is the information held by the rsi register for system service call?
address of characters to output or to store what is read
What is the information held by the rdx register for system service call?
number of characters to output