1-Windows Block Test Flashcards
Kernel
Heart of the OS
Fast and simple operations
Handles low level tasks such as hardware and thread management
Processor
Brain of computer
Runs in two modes: User and Kernel
User Mode (Processor)
Unprivileged/Restricted
Own private virtual address space
Isolates app to prevent alteration of outside data
Kernel Mode (Processor)
Privileged/Unrestricted
Shares address space
Can overwrite other programs and compromise system
Drivers
Software that enables communication between OS and hardware
Can communicate directly with hardware, or with lower level drivers
Come in two types: User mode and kernel mode
Three levels: High, intermediate, and low
Three categories: Software, Bus, and Device
User Mode (Driver)
Interface between apps and kernel-mode drivers or other OS components
Kernel Mode (Driver)
Interface with hardware, I/O, thread management, etc.
High Level (Driver)
Always depend on low level drivers
Ex: File system drivers
Intermediate Level (Driver)
Always depend on low level drivers
Divided into 3 categories: Function, Filter, and Software Bus
Low Level (Drivers)
Controls bus in which hardware is connected
Does NOT depend on low level drivers
Ex: PCI bus drivers
Function Drivers
Intermediate Level
Handles reads/writes to a device
Typically created by device manufacturer and are required
Provides operational interface for device
Filter Drivers
Intermediate Level
Optional drivers
Provide additional functionality
Communicates with other filter or function drivers
Software Bus Drivers
Intermediate Level
Provides interface for high level drivers to attach to a set of child devices
Software Driver
Always runs in kernel mode
Not associated with hardware device
Created to gain access to data accessible only to the kernel
Bus Driver
Always runs in kernel mode
Ex: PCI bus, USB bus
Provides communication to several devices sharing a bus
Device Driver
Can run in kernel or user mode
Drivers necessary for the OS to communicate with an attached device
Boot Phases
BIOS Phase (Preboot)
Boot Loader Phase
Kernel Phase
BIOS Phase (Boot process)
UEFI performs POST
MBR read in (IDs where system partition is)
runs bootmgr file
Boot Loader Phase (Boot process)
Windows Boot Manager launched (Reads in BCD to HKLM\BCD00000000
Windows Boot Loader launched (Starts Winload.exe)
Boot Manager and Loader load Kernel into memory
Kernel Phase (Boot process)
Loads registry and drivers marked as "BOOT_START"
Launches Session Manager (smss.exe)
User session processes launched
Launch Services
Winlogon.exe (logon screen)
User session created
FAT and NTFS
Two Windows file systems
FAT
File Allocation Table
MS-DOS to Windows ME
Does not support file compression or encryption
FAT16
Drives up to 16GB; max file size 2GB
FAT32
Drives up to 16TB; max file size 4GB