Estructura de Windows

Transcription

Estructura de Windows
2
Sistema de
Soporte a
procesos
Modo
Usuario
Servicios a
procesos
Aplicaciones Subsistema
De Usuario
Subsistema de DLLs
Modo
Kernel
Executive
Kernel
Drivers de Disp.
Windowing
y graficas
Hardware Abstraction Layer (HAL)
3
4
5
6
7
8
9
Environment Subsystems
User
Mode
System
& Service
Processes
User
Application
Subsystem DLL
Kernel
Mode
OS/2
Windows
Windows
Executive
Device Drivers
Hardware Abstraction Layer (HAL)
POSIX
Kernel
Windows
User/GDI
Device
Driver
10
11
12
13
14
15
Per-process
address space
Thread
Thread
Thread
16
17
Default
3 GB user space
18
Screen snapshot from:
Resource Kit | QuckSlice
19
20
System Processes
Services
Environment
Subsystems
Applications
Service
Control Mgr.
SvcHost.Exe
LSASS
WinMgt.Exe
WinLogon
User
Mode
Explorer
SpoolSv.Exe
OS/2
User
Application
Services.Exe
Session Manager
Windows
Task Manager
POSIX
Subsystem DLLs
Windows DLLs
NTDLL.DLL
System
Threads
Kernel
Mode
System Service Dispatcher
Windows
USER,
GDI
(kernel mode callable interfaces)
I/O Mgr
Local
Procedure
Call
Configuration Mgr
(registry)
Processes
&
Threads
Virtual
Memory
Security
Reference
Monitor
Power
Mgr.
Plug and
Play Mgr.
Object
Mgr.
File
System
Cache
Device &
File Sys.
Drivers
Graphics
Drivers
Kernel
Hardware Abstraction Layer (HAL)
hardware interfaces (buses, I/O devices, interrupts,
interval timers, DMA, memory cache control, etc., etc.)
Original copyright by Microsoft Corporation.
Used by permission.
21
22
23
24
25
26
27
28
29
Name of file on
system disk
Name of uniprocessor
version on CD-ROM
Name of multiprocessor version
on CD-ROM
NTOSKRNL.EXE
\I386\NTOSKRNL.EXE
\I386\NTKRNLMP.EXE
NTKRNLPA.EXE
\I386\NTKRNLMP.EXE
\I386\NTKRPAMP.EXE
HAL.DLL
Depends on system type
Depends on system type
30
31
32
33
Sample HAL routines:
HalGetInterruptVector
HalGetAdapter
WRITE_PORT_UCHAR
34
35
36
37
38
39
40
41
42
Registry
Setup
Application
CreateService
Service
Controller/
Manager
(Services.Exe)
Service
Processes
Control
Panel
43
44
45
46
47
48
49
50

Similar documents