Chapter 2: Operating System Services (cont.)

Touch Screen Interface:

A touch screen interface is a type of computer display screen that allows the user to interact with the computer by touching the screen directly, instead of using a mouse or keyboard. This technology enables the user to perform actions such as tapping, swiping, and zooming by touching the screen with their fingers or a stylus.

Function Call vs Library Function Call vs System Call

Function Calls:

System Calls:

Library Calls:

System Calls

Steps in making a system call (See picture numbers and below)

Untitled

Untitled

System call :

Function Call:

<aside> 💡 Cache is transparent

</aside>

Untitled

Five Categories of System calls

System Call Parameter Passing: Memory, Address, stack

Passing parameters to the OS when making a system call depends on the type of call. For example, opening a file requires the file name, access mode and type. Getting system time requires the format and zone. These parameters must be passed in a data structure such as an array, list or structure.

Untitled

Operating System Structures

⇒ There are six types of OS structures

Untitled

<aside> 💡 C library is portable. because this ensures that code written using the library can be easily ported to different systems with a C compiler, regardless of operating system and hardware.

</aside>

graph TD
  GCc --> O/S1 
  O/S1 --> P1
  GCC --> O/S2
  O/S2 --> P2
  GcC --> O/S3 
  O/S3 --> P3
  1. Monolithic Structure/Simple Structure:

Untitled

  1. Layered Structure: