WindowsXP operating system principle The general method of using system maintenance tools to repair system start-up failures The general method of virus prevention and control can only perform some basic DOS commands, which is not supported for most 16-bit applications that directly control hardware. As can be seen from Figure 13.1, Windows XP also introduces user mode and kernel mode to improve kernel stability, and adds a hardware abstraction layer (HAL) to provide an abstract hardware access interface when interacting with hardware, avoiding direct operation of hardware. These are the main guarantees for the stability of Windows XP. Figure 13.1 WindowsXP architecture Multi-mustard batch wine wall Cheng Zai Chimney Canglianjun Butterfly's father is like feeding on Xinxianjianjiangang Rich Xiebei Ferry Hitomi Regrets Computer software system failure and maintenance Computer software system failure and maintenance (1) Kernel Mode (KernelMode). When the CPU is running in kernel mode, all programs can be run. (2) User Mode (UserMode). In this mode, the hardware prevents the execution of privileged instructions and checks access operations to memory and I/O space. Allows WindowsXP to restrict program access to various I/O operations and catch any violations of system integrity. The number of files under the Windows system folder is large, and it increases with the installation of software. The core system files in the Windows XP architecture are shown in Table 13.1. Soft Xingbu Sour Edge Yagui Kicks Silicon Step Guard Garden Roast Meal has been softened by Xing Dui Xiu Anal Sui Zhitian Xuwu Swollen House Cunshi Si Xi Computer Software System Failure and Maintenance Computer Software System Failure and Maintenance 1. The pre-boot stage The time between pressing the computer power and the operating system starting to load the first file is called the Pre-Boot stage. At this point, the computer first runs PowerOnSelfTest (POST), which detects the status of the system's processor, memory and other hardware devices. After all hardware devices are automatically identified and configured, the BIOS will locate the boot device (such as hard disk or optical drive), and then the MBR (MasterBootRecord) will be loaded and run. At the end of the pre-boot phase, the NTLDR file of WindowsXP will be loaded. 2. Boot phase WindowsXP boot phase contains 4 steps.