0% found this document useful (0 votes)
12 views2 pages

OS Services and System Programming Insights

Uploaded by

Alex Menassa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

OS Services and System Programming Insights

Uploaded by

Alex Menassa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

L8: Ch2 pt.

For exam: Read the book very quickly, study the notes and slides, do the exercises if I have time do
previouses

OS Services:

Programming interfaces services written in high level language are access mostly by APIs rather than
direct system calls, most typical APIs for OS: POSIX, Java API …

Notes:

- AOT (ahead of time compiling). AOT is good for portability, this means we can write the tool in
less languages.
- What language for System Programs: C and not Assembly.
- Assembly only used for extreme cases example Game Programming
- Accessing registers is way faster than accessing RAM, RAM is way slower than CPU, that’s why
we use assembly, to save stuff in registers rather than RAM which is way faster

We have dual mode for security reasons because some functions are very dangerous such as format… So,
when in user mode, there are still things in kernel mode only at the same time thus dual mode.

 How does it work?


o Use registers (sometimes there are more parameters than registers…)
o Use RAM with memory address in Register
o Stack of the OS

Read slides for types of system programs…

Notes:

- Demons are programs that start when the computer start and work in the background all the
time like anti viruses…
-

You might also like