Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write System call #4

Open
AlessandroSangiuliano opened this issue Apr 13, 2023 · 0 comments
Open

Write System call #4

AlessandroSangiuliano opened this issue Apr 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AlessandroSangiuliano
Copy link
Owner

Implement the write system call:

  • evaluate in library implementation
  • evaluate in (file) server implementation

Path:

  • in library: user program -> libc printf -> libc write -> message to the kernel for console writing (CS in Mach) -> all the back path to the user program. PRO: Faster. CONS: most of the code in libc.
  • in server: user program -> libc printf -> message to the file server ( CS to the Mach kernel) -> CS to the server -> write execution -> message to Mach for console writing -> all the back path to the user program. PRO: more modular, more microkernel approch. CONS: Slower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant