Windows Internels 4th Edition --Just a collection

1. System component

Component

Processor Execution

Responsibilities

Master Boot Record (MBR) code

16-bit real mode

Reads and loads partition boot sectors.

Boot sector

16-bit real mode

Reads the root directory to load Ntldr.

Ntldr

16-bit real mode and 32-bit or 64-bit protected mode; turns on paging

Reads Boot.ini, presents boot menu, and loads Ntoskrnl.exe, Bootvid.dll, Hal.dll, and boot-start device drivers. If a 32-bit installation is booted, switches to 32-bit protected mode; if a 64-bit installation is booted, switches to 64-bit long mode.

Ntdetect.com

16-bit real mode

Performs hardware detection for Ntldr.

Ntbootdd.sys

Protected mode

Device driver used for disk I/O on SCSI and Advanced Technology Attachment (ATA) systems where the BIOS is not used.

Ntoskrnl.exe

Protected mode with paging

Initializes executive subsystems and boot and system-start device drivers, prepares the system for running native applications, and runs Smss.exe.

Hal.dll

Protected mode with paging

Kernel-mode DLL that interfaces Ntoksnrl and drivers to the hardware.

Smss

Native application

Loads Windows subsystem, including Win32k.sys and Csrss.exe, and starts Winlogon process.

Winlogon

Native application

Starts the service control manager (SCM), starts the Local Security Subsystem (LSASS), and presents interactive logon dialog box.

Service control manager (SCM)

Native application

Loads and initializes auto-start device drivers and Windows services

 

2. Paged Pool & Nonpaged Pool

  • Nonpaged pool Consists of ranges of system virtual addresses that are guaranteed to reside in physical memory at all times and thus can be accessed at any time (from any IRQL level and from any process context) without incurring a page fault. One of the reasons nonpaged pool is required is because of the rule described in Chapter 2: page faults can't be satisfied at DPC/dispatch level or above.

  • Paged pool A region of virtual memory in system space that can be paged in and out of the system. Device drivers that don't need to access the memory from DPC/dispatch level or above can use paged pool. It is accessible from any process context.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值