(C191) Operating Systems for programmers - Unit 2

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards
2
New cards

User Interface

-These allow for the user to interact with the system services via system calls (typically written in C/C++).

-Can be GUI, Command Line, or Batch

3
New cards

System services that are helpful to the user

program execution, I/O operations, file-system

manipulation, communications, and error detection

4
New cards

Services that ensure efficient OS operation

resource allocation, accounting, protection and security

5
New cards

APIs (Application Program Interface) examples

Win32, POSIX, Java

6
New cards

system call relation with numbers

System call interface maintains a table indexed according to these numbers

7
New cards

How parameter are passed into the OS by system call

- Passing in registers, address of parameter stored in a block, pushed onto the stack by the program and popped off by the OS

-Block and stack methods do not limit the number

or length of parameters being passed

8
New cards

Process Control

-end, abort, load, execute, create/terminate process, wait, allocate/free memory

9
New cards

File management

- system calls include: create/delete file, open/close file, read, write, get/set attributes

10
New cards

Device Management

- system calls: request/release device, read, write, logically attach/detach devices

11
New cards

Information maintenance

- system calls: get/set time,

get/set system data, get/set process/file/device attributes

12
New cards

Communication

- system calls: create/delete communication connection, send/receive, transfer status information

13
New cards

OS layered approach

- The operating system is divided into a number of layers (levels), each built on top of lower layers. The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface

- With modularity, layers are selected such that each uses functions (operations) and services of only lower-level layers

14
New cards

Virtual Machine

- uses layered approach, treats hardware and the OS kernel as though they were all hardware.

-Host: creates the illusion that a process has its own processor and own virtual memo

- Each guest provided with a 'virtual' copy of the underlying computer

15
New cards

Host

creates the illusion that a process has its own processor and own virtual memo

16
New cards

Core Dump

generated file that contains the memory of the application failures process

17
New cards

Crash Dump

Dump File that contains system failure kernel memory