Top Banner
Sean Barker Recap: Architecture Support for OS 1 OS Service Hardware Support Protection Kernel/user mode, privileged instructions, base/limit registers Interrupts Interrupt vectors System calls Trap instructions and trap vectors I/O Interrupts Scheduling, error recovery, accounting Timer Synchronization Atomic instructions Virtual memory Translation look-aside buffers Sean Barker System Calls 2
6

Recap: Architecture Support for OSsbarker/teaching/courses/os/15...HTML JavaScript Win32 XAML HTML/ CSS JavaScript Devices & Printing Communication & Data VB WinRT APIs Graphics &

Jul 31, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Recap: Architecture Support for OSsbarker/teaching/courses/os/15...HTML JavaScript Win32 XAML HTML/ CSS JavaScript Devices & Printing Communication & Data VB WinRT APIs Graphics &

Sean Barker

Recap: Architecture Support for OS

1

OS Service Hardware Support

Protection Kernel/user mode, privileged instructions, base/limit registers

Interrupts Interrupt vectors

System calls Trap instructions and trap vectors

I/O InterruptsScheduling, error recovery,

accounting Timer

Synchronization Atomic instructions

Virtual memory Translation look-aside buffers

Sean Barker

System Calls

2

Page 2: Recap: Architecture Support for OSsbarker/teaching/courses/os/15...HTML JavaScript Win32 XAML HTML/ CSS JavaScript Devices & Printing Communication & Data VB WinRT APIs Graphics &

Sean Barker

Making a System Call

3

user mode

kernel mode

Sean Barker

Example System Calls

4

Page 3: Recap: Architecture Support for OSsbarker/teaching/courses/os/15...HTML JavaScript Win32 XAML HTML/ CSS JavaScript Devices & Printing Communication & Data VB WinRT APIs Graphics &

Sean Barker

System Call Implementation

5

Sean Barker

OS Architecture: Mac OS X

6

Page 4: Recap: Architecture Support for OSsbarker/teaching/courses/os/15...HTML JavaScript Win32 XAML HTML/ CSS JavaScript Devices & Printing Communication & Data VB WinRT APIs Graphics &

Sean Barker

OS Architecture: Windows 8

7

Sean Barker

Monolithic Kernel Design

8

Page 5: Recap: Architecture Support for OSsbarker/teaching/courses/os/15...HTML JavaScript Win32 XAML HTML/ CSS JavaScript Devices & Printing Communication & Data VB WinRT APIs Graphics &

Sean Barker

Layered OS Design

9

User programs

Device drivers

Virtual memory

I/O channel

CPU scheduler

Hardware

Sean Barker

Microkernel Design

10

Page 6: Recap: Architecture Support for OSsbarker/teaching/courses/os/15...HTML JavaScript Win32 XAML HTML/ CSS JavaScript Devices & Printing Communication & Data VB WinRT APIs Graphics &

Sean Barker

Hybrid Design in Mac OS X

11

Sean Barker

Modular Design

12