Address OxFFFFFFFF Return to caller Trap to the kernel 5 Put code for read in register User space Increment SP 11 Call read 3 Push fd 2 Push &buffer Push nbytes Kernel space (Operating system) 10 Dispatch Sys call handler 9 Library procedure read User program calling read

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 14VE
icon
Related questions
Question

operatıng systems
The figure on the right shows the operation of the read system call in general (count-read(fd,buffer,nbytes)).
What does it
mean if the operating system sends a value of 200 to the library procedure at arrow 9?

Address
OxFFFFFFFF
Return to caller
Trap to the kernel
5 Put code for read in register
User space
Increment SP
11
Call read
3
Push fd
2
Push &buffer
Push nbytes
Kernel space
(Operating system)
10
Dispatch
Sys call
handler
9
Library
procedure
read
User program
calling read
Transcribed Image Text:Address OxFFFFFFFF Return to caller Trap to the kernel 5 Put code for read in register User space Increment SP 11 Call read 3 Push fd 2 Push &buffer Push nbytes Kernel space (Operating system) 10 Dispatch Sys call handler 9 Library procedure read User program calling read
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
CompTIA Linux+ Guide to Linux Certification (Mind…
CompTIA Linux+ Guide to Linux Certification (Mind…
Computer Science
ISBN:
9781305107168
Author:
Jason Eckert
Publisher:
Cengage Learning