BIOS
BIOS
The BIOS (Basic Input/Output System) is firmware used to perform hardware initialization during the booting process (POST) and to provide runtime services for operating systems and programs. It is stored on a ROM chip on the motherboard and is the first code executed when a computer is powered on. Since the mid‑2000s, BIOS has been gradually replaced by the more advanced UEFI (Unified Extensible Firmware Interface), though the term is still commonly used to refer to the entire firmware interface.
Features
BIOS provides a low‑level interface to the computer’s hardware, allowing the operating system to interact with devices such as the keyboard, mouse, hard drive, and display without needing separate drivers. Key functions include:
- POST – Power‑On Self‑Test, which checks that essential hardware (CPU, RAM, storage) is functioning.
- Boot loader – Identifies a bootable device (e.g., hard disk, optical drive, USB) and loads the operating system’s bootstrap.
- CMOS setup – A configuration utility that allows users to adjust system time, boot order, and hardware settings. Settings are stored in CMOS memory, maintained by a small battery.
- Runtime services – Legacy interrupt calls (INT 10h, INT 13h, etc.) used by DOS‑era and early Windows systems.
History
The BIOS was originally conceived by Gary Kildall for CP/M and later adopted by IBM for the IBM PC in 1981. The original IBM PC BIOS was closed‑source, but reverse‑engineering efforts led to compatible clones (e.g., Phoenix Technologies). Over the decades, BIOS evolved from 8‑bit to 16‑bit and finally to 32‑bit (or 64‑bit) implementations, but its architecture remained constrained by the x86 real‑mode design.
Limitations of the legacy BIOS — such as a 16‑bit execution mode, the 2.2 TB MBR partition limit, and lack of a standardized graphical interface — prompted the development of UEFI, which became mainstream around 2010. Modern motherboards often ship with UEFI firmware that includes a "legacy BIOS" compatibility mode, sometimes called CSM (Compatibility Support Module).
Security
The BIOS is a potential vector for malware (e.g., the CIH virus) and rootkits that persist across OS reinstalls. To address this, many modern systems implement Secure Boot (part of UEFI) and BIOS flash protection mechanisms. Some vendors also offer BIOS recovery procedures via a backup ROM or a dedicated flash utility.