Boot firmware's main function is to initialize the hardware and then to boot (load and execute) the primary operating system. On PCs, the boot firmware is usually referred to as the BIOS.