Windows Kernel Internals II: University of Tokyo - July 2004
Windows Kernel Internals II: University of Tokyo - July 2004
Overview
University of Tokyo – July 2004*
Security refmon IO Manager Virtual memory Procs & threads Win32 GUI
File filters
FS run-time Scheduler
File systems
Volume mgrs exec synchr
Cache mgr
Device stacks
Object Manager / Configuration Management
Kernel run-time / Hardware Adaptation Layer
© Microsoft Corporation 2004 8
Windows Kernel Organization
Kernel-mode organized into
NTOS (kernel-mode services)
– Run-time Library, Scheduling, Executive services, object
manager, services for I/O, memory, processes, …
Hal (hardware-adaptation layer)
– Insulates NTOS & drivers from hardware dependencies
– Providers facilities, such as device access, timers, interrupt
servicing, clocks, spinlocks
Drivers
– kernel extensions (primarily for device access)
Thread
Files Virtual
Process’ Thread
Address
Events Handle Table
Descriptors Thread
Devices
Thread
Drivers
Thread
• Windows NT 3.1
• Windows 95
• Windows 98/98se/ME
• Windows NT4
• Windows 2000 (enterprise)
• WindowsXP (consumer)
• Windows Server 2003
• Windows XP/SP2
• “Longhorn”