Understanding the Inside of Windows2K

 

2005 Spring

TextBook: Inside Windows 2000 3rd

Instr:

Xlanchen(陈香兰)

Tel:

3606864-82

Mail:

xlanchen@ustc.edu

 

TA:

Ye Zhang(张晔)

Tel:

3606864-82

Mail:

Yzhang37@mail.ustc.edu.cn


Xiang Lan Chen

Dept of CS,

West Campus, Univ of Sci & Tech of China

Office: Electronic Buliding 3-419, Box 4, Hefei, Anhui

Offices Hours: Monday & Thursday, 15:00~17:00

Content

This course goes further inside the Microsoft windows 2000, anatomy the architecture and the components of the system, study the key structures and algorithms. During the course, important demo applet and cases is analyzed, and the student is about to complete some programming exercises to understand the concepts more deeply.

The course include: the history and development of windows, system architecture and system mechanisms (include object management), management mechanisms, process (thread) &job, memory management, security, I/O system, storage management, file systems, networking and so on. The course will be associated with some demonstrate for some key concept and some basic programming project.

Preparative course

1.        Computer system architecture

2.        The basic concept of Operating system

3.        C language programming

Objectives

After the course, the students will:

1.        Become aware of the inside of Microsoft windows 2000 and so on.

2.        Broaden the knowledge of programming model and development environment of windows.

3.        Gain practical experience in programming with windows.

4.        Lay a foundation for pursuing some additional career options.

Recommended text book & reference book

1.        David A. Solomon, Mark E. Russinovich, Inside Microsoft windows 2000, third edition, Microsoft Press, 2001

2.        尤晋元等编著,Windows操作系统原理, 北京机械工业出版社,2001,8

3.        Jeffrey Richter, programming application for Microsoft windows, 4th edition, Microsoft Press, 1999

 

However, to earn a high score in this course, lots of other materials should be read and learn. The internet will be the largest treasured library for reading materials.

The course slides:

Week

Contents

2.25

PPT1: start

Download: REF1: Inside Microsoft Windows 2000 (3rd Edition) (chm)
REF2: Programming Applications for Microsoft Windows (4th Edition) (chm)
REF3: 新编WIN32API大全(chm)

PPT1: Lecture 1 Foundation Concepts and Tools

Contents:

*      Key Microsoft Windows 2000 concepts and terms (Microsoft Win32 API, processes, threads, virtual memory, kernel mode and user mode, objects, handles, security, and the registry)

*      Some tools: the Performance tool, the kernel debugger, and so on.

Readings: chapter 1

3.4

PPT1: Lecture 2 System Architecture

Contents:

*      The internal design goals of Microsoft Windows 2000

*      The overall architecture of the system—the key components, how they interact with each other, and the context in which they run

Readings: chapter 2 & 3

3.11

PPT1: Lecture 3   System Mechanisms (1)

Contents:  Trap dispatching, including

*      interrupts,

*      deferred procedure calls (DPCs),

*      asynchronous procedure calls (APCs),

*      exception dispatching,

*      system service dispatching

Programming projects for this course:

*      time: reference to the schedule at our lab room

*      projects

3.18

PPT1: Lecture 4   System Mechanisms (2)

PPT2: Lecture 5  Startup and Shutdown

Contents:

*      The executive object manager

*      Synchronization, including spinlocks, kernel dispatcher objects, and how waits are implemented

*      System worker threads

*      Local procedure calls (LPCs)

*      boot Microsoft Windows 2000

*      system startup, system shutdown, system crash

Readings: System BIOS. http://www.pcguide.com/ref/mbsys/bios/index.htm

3.25

PPT1: Lecture 6   Management Mechanisms  

Contents: Three fundamental mechanisms:

*      The registry

*      Services

*      Windows Management Instrumentation

4.1

PPT1: Lecture 7   Processes, Threads, and Jobs (1)

Contents: The data structures and algorithms that deal with processes in Microsoft Windows 2000 are explained.

4.8

PPT1: Lecture 8   Processes, Threads, and Jobs (2)

Contents: 

*      The data structures and algorithms that deal with threads and jobs in Microsoft Windows 2000 are explained.

4.15

PPT1: Lecture 9 Memory Management (1)

Contents:

*      Memory Manager Components

*      Services the Memory Manager Provides

*      System Memory Pools

4.22

PPT1: Lecture 10 Memory Management (2)

Contents:

*      Address Space Layout

*      Address Translation

*      Page Fault Handling

*      Virtual Address Descriptors

*      Working Sets

*      Page Frame Number Database

*      Section Objects

4.29

PPT1: Lecture 11 Security

Contents:

*      Security Ratings

*      Security System Components

*      Protecting Objects

*      Security Auditing

*      Logon

(五一放假)

十二

5.13

PPT1: Lecture 12 I/O System

 Contents:

*      I/O System Components

*      I/O Data Structures

*      Driver Loading, Initialization, and Installation

*      I/O Processing

十三

5.20

PPT1: Lecture 13 Storage Management

Contents:

*      The Evolution of Windows 2000 Storage

*      Partitioning

*      Storage Drivers

*      Multi-partition Volume Management

*      The Volume Namespace

十四

5.27

PPT1: Lecture 14 Cache Manager

Contents:

*      Key Features of the Windows 2000 Cache Manager

*      Cache Structure

*      Cache Size

*      Cache Data Structures

*      Cache Operation

*      Cache Support Routines

十五

6.3

PPT1: Lecture 15 File Systems

Contents:

*      Windows 2000 File System Formats

*      NTFS Design Goals and Features

*      File System Driver Architecture

*      NTFS File System Driver

*      NTFS On-Disk Structure

十六

6.10

PPT1: Lecture 16 Networking

Contents:

*      The OSI Reference Model

*      Networking APIs

*      Network-Resource Name Resolution

*      Protocol Drivers

*      NDIS Drivers

*      Binding

*      Layered Network Services

十七

6.17

Review

Deadline for projects: 6.29