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