Windows XP Kernel Architecture Mike Karlsven James Farrer Jason Smith.

Slides:



Advertisements
Similar presentations
Chapter 2 Operating System Overview
Advertisements

Introduction to the Windows XP Architecture
purpose Search : automation methods for device driver development in IP-based embedded systems in order to achieve high reliability, productivity, reusability.
Operating System.
Operating System Structures
Windows XP Operating Systems  COSC513 Operating Systems  Mr. Nut Prommongkonkun  Student ID #
An Overview Of Windows NT System Student: Yifan Yang Student ID:
1 Module 1 The Windows NT 4.0 Environment. 2  Overview The Microsoft Operating System Family Windows NT Architecture Overview Workgroups and Domains.
Case study 1 Windows 7.
3: OS Structures 1 OPERATING SYSTEM STRUCTURES PROCESS MANAGEMENT A process is a program in execution: (A program is passive, a process active.) A process.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
Case Study: Windows 2000 Part I Will Richards CPSC 550 Spring 2001.
Operating System Structure. Announcements Make sure you are registered for CS 415 First CS 415 project is up –Initial design documents due next Friday,
Windows XP 1 © Silbershatz, Galvin, Gagne CS502 Spring 2006 Windows XP CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Microkernels: Mach and L4
Figure 1.1 Interaction between applications and the operating system.
CS-3013 & CS-502, Summer 2006 Windows XP1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Stack Management Each process/thread has two stacks  Kernel stack  User stack Stack pointer changes when exiting/entering the kernel Q: Why is this necessary?
Windows Debugging Demystified
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
1 Operating System Overview Chapter 2 Advanced Operating System.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Chapter One Introduction to Windows XP. Objectives Describe the Windows XP product family Describe the Windows XP product family Describe the major features.
ICOM Noack Operating Systems - Administrivia Prontuario - Please time-share and ask questions Info is in my homepage amadeus/~noack/ Make bookmark.
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
Three fundamental concepts in computer security: Reference Monitors: An access control concept that refers to an abstract machine that mediates all accesses.
Kernel, processes and threads Windows and Linux. Windows Architecture Operating system design Modified microkernel Layered Components HAL Interacts with.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Chapter 2 Operating System Overview
Windows 2000 Course Summary Computing Department, Lancaster University, UK.
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
Introduction to Windows XP Professional
Advanced Design and System Patterns The Microkernel Pattern.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
Processes Introduction to Operating Systems: Module 3.
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
1 Windows NT A Distributed Architecture Windows NT A Distributed Architecture Professor: Mohamed Khalil CSE 8343 GROUP-A5 Dhaval Sanghvi Amit Sharma Ali.
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Security Architecture and Design Chapter 4 Part 2 Pages 319 to 357.
I/O Software CS 537 – Introduction to Operating Systems.
Find – used to find files corresponding to a certain criteria find starting_dir matching_criteria [options] Examples: find /usr –name startx find /usr.
OPERATING SYSTEMS STRUCTURES Jerry Breecher 2: Operating System Structures 1.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Introduction to Operating Systems Concepts
Hardware and OS Design and Layout.
Operating System Structure
Unit OS2: Operating System Principles
KERNEL ARCHITECTURE.
Chapter 3: Windows7 Part 1.
Chapter 3: Windows7 Part 2.
Chapter 3: Windows7 Part 2.
B.Ramamurthy Chapter 2 : Appendix
Operating Systems Lecture 3.
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
February 5, 2004 Adrienne Noble
Computer System Structures
OPERATING SYSTEMS STRUCTURES
Operating Systems Structure
Presentation transcript:

Windows XP Kernel Architecture Mike Karlsven James Farrer Jason Smith

Introduction Modeled on a microkernel architecture –Modified microkernel architecture Components execute in kernel mode rather than user mode Layered operating system

Executive HAL (Hardware Abstraction Layer) MicrokernelDevice Drivers Configuration Manager Cache ManagerObject Manager Virtual Memory Manager Security Reference Monitor Power Manager Plug and Play Manager I/O Manager Native API Interface Hardware Kernel Space Physical Hardware User Space Environment Subsystems User ProcessDLLUser Process

Hardware Abstraction Layer (HAL) Interacts directly with the hardware Handles device components on mainboard –Cache, system timers, etc Interacts with the microkernel HAL and Microkernel combine to make Windows XP portable allowing it to run in many different hardware environments

Windows Kernel Source Code #include char make_prog_look_big[ ]; main() { if (detect_cache()) disable_cache(); if (fast_cpu()) set_wait_states(lots); set_mouse(speed, very_slow); set_mouse(action, jumpy); set_mouse(reaction, sometimes); printf("Welcome to Windoze (we might get it right \ or just call it Chicargo)\n"); if (system_ok()) crash(to_dos_prompt); else system_memory = open("a:\swp0001.swp", O_CREATE); while(1) { sleep(5); get_user_input(); sleep(5); act_on_user_input(); sleep(5); if (rand() < 0.9) crash(complete_system); } return(unrecoverable_system); }

Microkernel Provides base services for the other components residing in kernel space Forms only small part of kernel space Provides basic system mechanisms –Thread scheduling Handles thread synchronization Dispatches interrupts Handles exceptions

Device Drivers Interacts with the microkernel and the HAL Interacts with Executive portion of the kernel space Inside kernel space

Executive Contains kernel-mode components responsible for administering the operating system subsystems –I/O Manager –Plug and Play Manager –Power Management –Security Reference Monitor –Virtual Memory Manager –Object Manager –Cache Manager –Configuration Manager Interacts with microkernel, device drivers, and native API interface

Native API Interface The interface directly to the executive’s services from the user level. Environment Subsystem The standard environment (e.g. win32). A layer of abstraction to translate the standard environment calls to system calls. Processes preferred method of interaction.

Example

Registry Database accessible to all process and Kernel-mode components Managed by the configuration manager (Executive Component) All drivers, components and applications communicate with the configuration manager to access the registry

Object Manager Executive Component that manages objects (physical and logical resources) Objects are access through object handles Kernel-mode components can access objects directly through pointers and through kernel handles (handles only accessible through kernel-mode)

Conclusion Designed to offer –Stability –Security –Scalability While still providing –Multimedia support –Networking –User friendly interface