1
Case Study 2: Windows 2000
Chapter 11
11.1 History of windows 2000
11.2 Programming windows 2000
11.3 System structure
11.4 Processes and threads in windows 2000
11.5 Memory management
11.6 Input/output in windows 2000
11.7 The windows 2000 file system
11.8 Security in windows 2000
11.9 Caching in windows 2000
2
Windows NT
Some differences between Windows 98 and Windows NT
3
Windows 2000 (1)
Different versions of Windows 2000
4
Windows 2000 (2)
Comparison of some operating system sizes
5
The Win32 Application Programming Interface
The Win32 API allows programs to run on almost all versions of Windows
6
The Registry (1)
• Top level keys and selected subkeys
• Capitalization has no meaning but follows Microsoft practice.
7
The Registry (2)
Some of the Win32 API calls for using the registry
8
The Operating System Structure
• Structure of Windows 2000 (slightly simplified).
• Shaded area is executed
• Boxes, D, are device drivers
• Service processes are system daemons
9
Hardware Abstraction Layer
Some of the hardware functions the HAL manages
10
Implementation of Objects (1)
The structure of an object
11
Implementation of Objects (2)
Some common executive object types
managed by the object manager
12
Implementation of Objects (3)
The relationship between handle tables, objects and type objects
13
The Object Name Space
Some typical directories in the object name space
14
Environment Subsystems (1)
Various routes taken to implement Win32 API function calls
15
Environmental Subsystems (2)
• Some key windows 2000 files
– mode they run in
– number of exported function calls
– main contents of each file
• Calls in win32k.sys not formally exported
– not called directly
16
Processes and Threads (1)
Basic concepts used for CPU and resource management
17
Processes and Threads (2)
Relationship between jobs, processes, threads, and fibers
18
Job, Process, Thread & Fiber Mgmt. API Calls
Some of Win32 calls for managing processes, threads and fibers
19
Scheduling (1)
Mapping of Win32 priorities to Windows 2000 priorities
20
Scheduling (2)
Windows 2000 supports 32 priorities for threads
21
An example of priority inversion
Scheduling (3)
22
MS-DOS Emulation
How old MS-DOS programs are run under Windows 2000
23
Booting Windows 2000
• Processes starting up during boot phase
• Those above the line are always started
• Those below are examples of services which could be started
24
Fundamental Concepts (1)
• Virtual address space layout for 3 user processes
• White areas are private per process
• Shaded areas are shared among all processes
25
Fundamental Concepts (2)
• Mapped regions with their shadow pages on disk
• The lib.dll file is mapped into two address spaces at same time
26
Memory Management System Calls
The principal Win32 API functions for
mapping virtual memory in Windows 2000
27
Implementation of Memory Management
A page table entry for a mapped page on the Pentium
28
Physical Memory Management (1)
The various page lists and the transitions between them
29
Physical Memory Management (2)
Some of the major fields in the page frame data base for a valid page
30
Input/Output API Calls
Categories of Win32 API calls
31
Device Drivers
Windows 2000 allows drivers to be stacked
32
File System API Calls in Windows 2000 (1)
• Principle Win32 API functions for file I/O
• Second column gives nearest UNIX equivalent
33
File System API Calls in Windows 2000 (2)
A program fragment for copying a file using the Windows 2000
API functions
34
File System API Calls in Windows 2000 (3)
• Principle Win32 API functions for directory management
• Second column gives nearest UNIX equivalent, when one exists
35
File System Structure (1)
The NTFS master file table
36
File System Structure (2)
The attributes used in MFT records
37
File System Structure (3)
An MFT record for a three-run, nine-block file
38
File System Structure (4)
A file that requires three MFT records to store its runs
39
File System Structure (5)
The MFT record for a small directory.
40
File Name Lookup
Steps in looking up the file C:mariaweb.htm
41
File Compression
(a) An example of a 48-block file being compressed to 32 blocks
(b) The MTF record for the file after compression
42
File Encryption
Operation of the encrypting file system
K retrieved
user's public key
43
Security in Windows 2000
Structure of an access token
44
Security API Calls (1)
Example security descriptor for a file
45
Security API Calls (2)
Principal Win32 API functions for security
46
Caching in Windows 2000
The path through the cache to the hardware

More Related Content

PPT
Chapter 11
PPTX
Case study
PPT
Unix and Linux
PPT
Case Study 2: WINDOWS VISTA
PPT
Windows 2000
PPT
Chapter 10
PDF
Chapter 11
Case study
Unix and Linux
Case Study 2: WINDOWS VISTA
Windows 2000
Chapter 10

Similar to Chapter-11 - OS-windows and its generations (20)

PPTX
Selecting and Installing Operating System
DOC
Lecture 1
PPTX
Windows operating system
PPTX
Chapter_2_Network_Operating_System_NOS_and_Windows_Network_Concepts.pptx
PPT
PPT
Ch21 OS
 
PPT
Operating System Presentation
PPT
OS_Chapter-12 simple concepts and design
PPT
Chapter 02 modified
PPTX
PDF
CNIT 126: 10: Kernel Debugging with WinDbg
PPT
Windows internals
PPT
Linux introduction
PPTX
ahistoryofwindows.pptx
PPT
Linux intro to advance
PPT
OSOS SEM 4 Chapter 2 part 1
DOC
Assignment unix & shell programming
PDF
Windows Kernel Debugging
PDF
Operating System
Selecting and Installing Operating System
Lecture 1
Windows operating system
Chapter_2_Network_Operating_System_NOS_and_Windows_Network_Concepts.pptx
Ch21 OS
 
Operating System Presentation
OS_Chapter-12 simple concepts and design
Chapter 02 modified
CNIT 126: 10: Kernel Debugging with WinDbg
Windows internals
Linux introduction
ahistoryofwindows.pptx
Linux intro to advance
OSOS SEM 4 Chapter 2 part 1
Assignment unix & shell programming
Windows Kernel Debugging
Operating System
Ad

More from Ranjithsingh20 (8)

PPT
CSharp_04_Events-in-C#-introduction-with-examples
PPT
CSharp_03_Properties_introductionwithexamples
PPTX
CSharp_03_Inheritance_introduction_with_examples
PPTX
CSharp_03_Generics_introduction_withexamples
PPT
CSharp_03_ClassesStructs_and_introduction
PPT
CSharp_02_LanguageOverview_andintroduction
PPT
CSharp_02_Arrays_fundamentals_concepts_introduction
PPT
CSharp_01_CLROverview_and Introductionc#
CSharp_04_Events-in-C#-introduction-with-examples
CSharp_03_Properties_introductionwithexamples
CSharp_03_Inheritance_introduction_with_examples
CSharp_03_Generics_introduction_withexamples
CSharp_03_ClassesStructs_and_introduction
CSharp_02_LanguageOverview_andintroduction
CSharp_02_Arrays_fundamentals_concepts_introduction
CSharp_01_CLROverview_and Introductionc#
Ad

Recently uploaded (20)

PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
Software Engineering and software moduleing
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PPTX
CyberSecurity Mobile and Wireless Devices
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPTX
introduction to high performance computing
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Feature types and data preprocessing steps
PPTX
Management Information system : MIS-e-Business Systems.pptx
III.4.1.2_The_Space_Environment.p pdffdf
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Amdahl’s law is explained in the above power point presentations
Module 8- Technological and Communication Skills.pptx
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Software Engineering and software moduleing
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
"Array and Linked List in Data Structures with Types, Operations, Implementat...
CyberSecurity Mobile and Wireless Devices
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Visual Aids for Exploratory Data Analysis.pdf
introduction to high performance computing
Current and future trends in Computer Vision.pptx
Feature types and data preprocessing steps
Management Information system : MIS-e-Business Systems.pptx

Chapter-11 - OS-windows and its generations