system calls Flashcards

1
Q

why do we use system calls

A

they stop applications from directly manipulating the hardware etc and makes them go through the os

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are system calls

A

defined api to the kernel then provides access control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how do software interrupt work

A

parameters are stored in known registers
calls the software interrupt which invokes the kernel which calls the interrupt service routine and finds all registers in the stack which hold parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly