BIOS chipset (Legacy BIOS) and BIOS Mode: UEFI Firmware


From https://www.howtogeek.com/210186/what-is-the-difference-between-bios-and-firmware/

BIOS and UEFI (having an "EFI" partition on a disk or a usb stick) is Firmware for computers.

BIOS is an acronym for Basic Input/Output System and also known as System BIOS, ROM BIOS, or PC BIOS. It was a type of Firmware used during the booting process (power-on/start up) on IBM PC compatible computers. BIOS Firmware is built into PCs, and it is the first software they run when powered on. The name itself originates from the Basic Input/Output System used in the CP/M operating system in 1975.

Firmware is a combination of persistent memory, program code, and the data stored therein. Typical examples of devices containing Firmware are embedded systems such as traffic lights, consumer appliances, digital watches, computers, computer peripherals, mobile phones, and digital cameras. The Firmware contained in these devices provides the control program for the device.

Click here for a listing of the original IBM BIOS from 1981. While protected by copyright, by openly publishing that BIOS source code, IBM allowed the best programmers worldwide to launch what became industry standards for spreadsheets, word processing, and database systems on desktop computers. To the benefit of all.

New computers these days, since about 2012 in particular, have a technically and somewhat different kind of Firmware called UEFI, having an "EFI" partition on the hard drive.

Please note that computer peripherals will of course contain other Firmware besides BIOS/UEFI/EFI. Network cards, video cards, raid controllers, hard-drives, flash drives, SSDs, and sound cards (just to name a few) can all have Firmware (RAM and registers) embedded inside.

 

Interface steps

On power startup, BIOS chipset Firmware or UEFI Firmware does initial hardware checking, then loads Operating System and low level drivers, associating each driver with at least one interrupt service routine (or handler). The Operating System provides a unified approach to the main memory on the motherboard.

Read following steps 1,2,3,4 as Low to High. 4,3,2,1 High to Low.

  1. Hardware driven Interrupts (e.g. from a keyboard to a PS/2 or USB port) grants access to each different device's firmware (its registers and microcode) over PCI USB SATA ARM Buses, by using Low Level Driver commands for x86 or ARM motherboards that run inside the Operating System Kernel.

    They are overseen by other commands coming from the Kernel (Windows, Linux, iOS, MacOS). To prevent "bottlenecks", drivers may be given Direct Memory Access allowing the CPU to run other tasks. The screen may also have a dedicated GPU to speed up image processing.

  2. Software driven Interrupts use the Kernel to directly access the driver's software in Web Browsers and MS Office, or via the Java VM Runtime, Windows Runtime, Android Runtime, Objective-C / MacOS, iOS Runtime.

  3. Personal User built programs install Bytecode as a binary interface to these Runtime libraries.

  4. Programmers write source code by referring to an API (application programming interface) to access source code libraries. The source code then compiles to bytecode in Personal User built programs.

Windows also has a Client-Server Runtime subsystem (CSRSS) to handle Console Windows.
With SWCS, Windows 32-bit NTVDM.exe ran inside CSRSS for years supplying a stable interface for SW software, minimal graphics, but maximum text-based data.

Run dxdiag.exe for video and audio hardware.

Run msinfo32.exe to see BIOS version. If it shows BIOS MODE: UEFI, then it's running UEFI.

The SMBIOS version has been loosely related to the version of Windows the hardware is most likely to ship with:

http://dellwindowsreinstallationguide.com/uefi/

http://www.zdnet.com/article/windows-10-tip-change-uefi-firmware-settings-or-start-in-safe-mode/

If you've used PCs long enough, you know the frustration of trying to get to the BIOS screen so you can adjust settings like the order of boot devices. Every PC has a different magic keystroke, which must be pressed at exactly the right time.

On modern UEFI-equipped devices running Windows 10, the task is much simpler. Open Settings > Update & security > Recovery and then, under the Advanced Startup heading, click Restart now. (You have to be signed in as an administrator, naturally.)

That restarts your PC to a special startup menu. Click Troubleshoot, then click Advanced options to get to the screen which includes the UEFI Firmware Settings option.

Other advanced options on this screen let you roll back a problem with System Restore or change startup settings. If you're looking for good old Safe Mode, you'll find it under the Startup Settings menu.

If going through Settings seems too complicated, there's an even faster shortcut. From the Windows desktop, click Start, click Power, and then hold down Shift as you click Restart.

** End of File.