Operating System Structures (chapter 3)

Get Started. It's Free
or sign up with your email address
Rocket clouds
Operating System Structures (chapter 3) by Mind Map: Operating System Structures (chapter 3)

1. Operating System Services

1.1. User Interface

1.2. Program Execution

1.3. I/O Operations

1.4. File-system manipulation

1.5. Communication

1.6. Error Detection

2. Additional Operating System Fuctions

2.1. Resource Allocation

2.2. Accounting

2.3. Protection And Security

3. System Calls.

3.1. Three general methods are used to pass parameters between a running program and the operating system.

3.1.1. Pass the parameters in registers.

3.1.2. Parameters stored in a block or table in memory and address of block passed as a parameter in a register.

3.1.3. Parameters placed or pushed onto the stack by the program and popped off the stack by the operating system.

4. Types Of System Calls

4.1. Process Control

4.1.1. Create process

4.1.2. Terminate procss

4.2. File Management

4.2.1. Create file

4.2.2. Delete file

4.3. Device Management

4.3.1. Request device

4.3.2. Release device

4.4. Information Maintenanc

4.4.1. Set time and date

4.5. Communications

4.5.1. Create/delete communication connection

4.6. Protection

4.6.1. Set permission

5. Communication Models

5.1. Message Passing

5.1.1. In message passing model, communication takes place by means of messagers exchanged between the process

5.2. Shared Memory

5.2.1. In shared memory model, a region of memory that is shared by processes can exchange information by reading and writing data to the shared region

6. Layered Approach

6.1. Operating system is divided into a number of layers(levels), each built on top of lower layers.

6.2. Bottom layer(layer 0) is the hardware; the highest(layer N) is the user interface.

6.3. Advantage

6.3.1. Simplicity of construction and debugging

6.4. Disadvantages

6.4.1. The careful definition and interaction of the layers

6.4.2. Less efficient

7. Microkernel

7.1. The main function of microkernel is to provide communication facility.

7.2. Both user program and services are running on user mode.

7.3. However, user program and services never interact directly.

7.4. They communicate directly by exchanging message with microkernel.

7.5. Advantage

7.5.1. Extensibility Allows the addition of new services

7.5.2. Flexibility New features added Existing features can be subtracted

7.5.3. Relliability Modular design Small microkernel can be rigorously tested

7.5.4. Portability Changes needed to port the system to a new processor is changed in the microkernel-not in the other services

8. Operating System Design Goals

8.1. User Goals

8.1.1. Convenient to use

8.1.2. Easy to learn

8.1.3. Safe and fast

8.2. System goals

8.2.1. should be easy to design

8.2.2. error-free