To test and debug drivers on a Microsoft Windows operating system, you must enable and configure features that are established when the operating system loads. The settings for these features are included in the boot options--values that determine how the boot loader loads and configures the operating system and other bootable programs and devices.
Tip If you are using the Windows Driver Kit (WDK) 8, you can configure computers for testing and debugging from Visual Studio. When you configure the test computers, the WDK driver test framework automatically enables the test computer for remote debugging and transfers the necessary test binaries and support files. For more information, see Provision a computer for driver deployment and testing (WDK 8.1), or Provision a computer for driver deployment and testing (WDK 8), and How to How to test a driver at runtime using Visual Studio.
This section explains how to add, delete, and change boot options to create new load configurations for an operating system and how to use the boot entry parameters to customize a load configuration for driver testing and debugging.
By editing boot options, you can:
Enable and configure debugging.
Load a particular kernel or hardware abstraction layer (HAL) file.
Limit the physical memory available to Windows.
Enable, disable, and configure Physical Address Extension (PAE) on 32-bit versions of Windows.
Reapportion virtual address space between user-mode and kernel-mode components (3GB) to test a driver in a very small kernel-mode address space.
Enable and configure Data Execution Prevention (/noexecute).
Designate ports for Emergency Management Services (EMS) console redirection on headless servers.
Display the names of drivers as they load.
This section includes:
Beginning in Windows Vista, Windows includes a new boot loader architecture, new boot options, and a new boot options editor. For information, see Boot Options in Windows Vista.