SlideShare a Scribd company logo
Write a program in Python/C++ to test that 
computer is booted with Legacy Boot ROM-BIOS 
or UEFI.
UEFI and BIOS
What is BIOS and UEFI..…?
BIOS and UEFI are two firmware 
interfaces for computers which 
work as an interpreter between the 
operating system and the computer 
firmware. 
Both of these interfaces are used 
at the startup of the computer to 
initialize the hardware components 
and start the operating system.
What is Firmware..…?
 Installed with a computer in a non-volatile location 
(PROM/EEPROM) 
 Initializes low level hardware 
 Initializes memory controller timings, powers on critical boot devices. 
 Hands off control to operating system loader 
 Operating system loader uses firmware interfaces to initialize the 
operating system. 
 Referred to as pre-boot firmware 
 Examples: BIOS and UEFI.
What is Extensible Firmware Interface (EFI) 
 The Extensible Firmware Interface (EFI) is a 
specification that defines a software interface between 
an operating system and platform firmware. 
 EFI is a replacement for older BIOS firmware interface 
present in all IBM PC – compatible personal 
computers. 
7
Position of EFI
Transition from EFI to UEFI 
 The emergence of x64 architecture provides an inflection 
point to begin industry wide transition to EFI 
 To encourage transition, the UEFI Forum was created in 
2005, which is now responsible for EFI development 
 UEFI version 2.3 published in May 2009.
BIOS firmware 
 Mechanism used to boot PCs for the last 25+ years 
 All x86/x64 architecture machines in the market support 
BIOS firmware. 
 In early systems (16-bit era) BIOS was used for hardware 
access 
 Operating systems would call the BIOS rather than directly 
accessing the hardware (ex. MS-DOS). 
 In 32-bit era OSs instead generally directly accessed the 
hardware using their own device drivers
BIOS limitations 
 BIOS showing its age 
Over 25 years old. 
Documentation is scattered. 
 Non – graphical interface 
 Programmed in hex/assembly code 
 Regarded as legacy firmware 
11
Overcoming BIOS limitations 
 EFI adds support for a new partition scheme : GUID Partition 
Table(GPT) 
 Unlimited partitions can be created (W-128). 
 Maximum disk and partition size of 9.4 ZB. 
 UEFI processor mode can be either 32-bit or 64-bit (long 
mode) 
 Architecture is modular and extensible 
 Graphical user interface 
 Can be programmed in C/C++ 
 EFI interfaces are object oriented
Thank you

More Related Content

What's hot

Bios
BiosBios
4. motherboard
4.   motherboard4.   motherboard
4. motherboardjazz_306
 
How To Build A Computer
How To Build A ComputerHow To Build A Computer
How To Build A Computeriamsoccer17
 
Chapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSChapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSaskme
 
Bios
BiosBios
Boot process
Boot processBoot process
Boot process
Salman Memon
 
BIOS PRESENTATION
BIOS PRESENTATIONBIOS PRESENTATION
BIOS PRESENTATION
Rajput98k
 
BOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPTBOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPT
Shahzeb Pirzada
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
Gaurav Sharma
 
Bootloaders
BootloadersBootloaders
Bootloaders
Anil Kumar Pugalia
 
Bios
BiosBios
Bios, cmos and post
Bios, cmos and postBios, cmos and post
Bios, cmos and post
Sherief Elmetwali
 
Bios
BiosBios
Linux booting process
Linux booting processLinux booting process
Linux booting process
Prashant Hegde
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OS
anilinvns
 
Introduction motherboard
Introduction motherboardIntroduction motherboard
Introduction motherboard
Prof. Dr. K. Adisesha
 
Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Bios ( Basic Input Output System )
Bios ( Basic Input Output System )
Jesthine Nesshal
 
Understanding The Boot Process
Understanding The Boot ProcessUnderstanding The Boot Process
Understanding The Boot Process
Dominique Cimafranca
 

What's hot (20)

Bios
BiosBios
Bios
 
4. motherboard
4.   motherboard4.   motherboard
4. motherboard
 
How To Build A Computer
How To Build A ComputerHow To Build A Computer
How To Build A Computer
 
Chapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSChapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOS
 
Bios
BiosBios
Bios
 
Boot process
Boot processBoot process
Boot process
 
Booting
BootingBooting
Booting
 
BIOS PRESENTATION
BIOS PRESENTATIONBIOS PRESENTATION
BIOS PRESENTATION
 
BOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPTBOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPT
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
 
Bootloaders
BootloadersBootloaders
Bootloaders
 
Bios
BiosBios
Bios
 
Expansion slots
Expansion slotsExpansion slots
Expansion slots
 
Bios, cmos and post
Bios, cmos and postBios, cmos and post
Bios, cmos and post
 
Bios
BiosBios
Bios
 
Linux booting process
Linux booting processLinux booting process
Linux booting process
 
Booting Process OS
Booting Process OSBooting Process OS
Booting Process OS
 
Introduction motherboard
Introduction motherboardIntroduction motherboard
Introduction motherboard
 
Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Bios ( Basic Input Output System )
Bios ( Basic Input Output System )
 
Understanding The Boot Process
Understanding The Boot ProcessUnderstanding The Boot Process
Understanding The Boot Process
 

Viewers also liked

Grub
GrubGrub
UEFI Spec Version 2.4 Facilitates Secure Update
UEFI Spec Version 2.4 Facilitates Secure UpdateUEFI Spec Version 2.4 Facilitates Secure Update
UEFI Spec Version 2.4 Facilitates Secure Update
insydesoftware
 
Description of GRUB 2
Description of GRUB 2Description of GRUB 2
Description of GRUB 2
iamumr
 
Implementing a UEFI BIOS into an Embedded System
Implementing a UEFI BIOS into an Embedded SystemImplementing a UEFI BIOS into an Embedded System
Implementing a UEFI BIOS into an Embedded System
insydesoftware
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating SystemTech_MX
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded SystemsHimanshu Ghetia
 

Viewers also liked (7)

Grub
GrubGrub
Grub
 
Bios uefi y legacy
Bios uefi y legacyBios uefi y legacy
Bios uefi y legacy
 
UEFI Spec Version 2.4 Facilitates Secure Update
UEFI Spec Version 2.4 Facilitates Secure UpdateUEFI Spec Version 2.4 Facilitates Secure Update
UEFI Spec Version 2.4 Facilitates Secure Update
 
Description of GRUB 2
Description of GRUB 2Description of GRUB 2
Description of GRUB 2
 
Implementing a UEFI BIOS into an Embedded System
Implementing a UEFI BIOS into an Embedded SystemImplementing a UEFI BIOS into an Embedded System
Implementing a UEFI BIOS into an Embedded System
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 

Similar to Uefi and bios

Review paper on bios vs uefi
Review  paper on bios vs uefiReview  paper on bios vs uefi
Review paper on bios vs uefi
Faizan Mushtaq
 
05 - BIOS.ppt
05 - BIOS.ppt05 - BIOS.ppt
05 - BIOS.ppt
AliyuAhmed9
 
Bootkits: past, present & future
Bootkits: past, present & futureBootkits: past, present & future
Bootkits: past, present & future
Alex Matrosov
 
Bootloaders (U-Boot)
Bootloaders (U-Boot) Bootloaders (U-Boot)
Bootloaders (U-Boot)
Omkar Rane
 
07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)
Akhila Dakshina
 
BIOS Basics of the digital computer systems
BIOS Basics of the digital computer systemsBIOS Basics of the digital computer systems
BIOS Basics of the digital computer systems
PrabathSamarasinghe2
 
Bios
BiosBios
Presentation about Bios
Presentation about BiosPresentation about Bios
Presentation about Bios
Naveedmte
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
Ranjani Sekar
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
Ranjani Sekar
 
OS_Intro_Chap_1.ppt
OS_Intro_Chap_1.pptOS_Intro_Chap_1.ppt
OS_Intro_Chap_1.ppt
DrAmarNathDhebla
 
Motherboard.pptx
Motherboard.pptxMotherboard.pptx
Motherboard.pptx
julitapelovello
 
BIOS AND OS
BIOS AND OSBIOS AND OS
BIOS AND OS
Alen Binu abraham
 
BIOS, Linux and Firmware Test Suite in-between
BIOS, Linux and  Firmware Test Suite in-betweenBIOS, Linux and  Firmware Test Suite in-between
BIOS, Linux and Firmware Test Suite in-between
Alex Hung
 
Distro Recipes 2013: Secure Boot and Linux: several issues, one solution
Distro Recipes 2013: Secure Boot and Linux: several issues, one solutionDistro Recipes 2013: Secure Boot and Linux: several issues, one solution
Distro Recipes 2013: Secure Boot and Linux: several issues, one solution
Anne Nicolas
 
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptdocslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.ppt
PrasannaDeSilva7
 
Bootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinBootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus Bulletin
ESET
 

Similar to Uefi and bios (20)

Review paper on bios vs uefi
Review  paper on bios vs uefiReview  paper on bios vs uefi
Review paper on bios vs uefi
 
05 - BIOS.ppt
05 - BIOS.ppt05 - BIOS.ppt
05 - BIOS.ppt
 
Bootkits: past, present & future
Bootkits: past, present & futureBootkits: past, present & future
Bootkits: past, present & future
 
Bootloaders (U-Boot)
Bootloaders (U-Boot) Bootloaders (U-Boot)
Bootloaders (U-Boot)
 
07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)
 
Intro bios
Intro biosIntro bios
Intro bios
 
BIOS Basics of the digital computer systems
BIOS Basics of the digital computer systemsBIOS Basics of the digital computer systems
BIOS Basics of the digital computer systems
 
Bios
BiosBios
Bios
 
Presentation about Bios
Presentation about BiosPresentation about Bios
Presentation about Bios
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
 
OS_Intro_Chap_1.ppt
OS_Intro_Chap_1.pptOS_Intro_Chap_1.ppt
OS_Intro_Chap_1.ppt
 
Motherboard.pptx
Motherboard.pptxMotherboard.pptx
Motherboard.pptx
 
BIOS AND OS
BIOS AND OSBIOS AND OS
BIOS AND OS
 
BIOS, Linux and Firmware Test Suite in-between
BIOS, Linux and  Firmware Test Suite in-betweenBIOS, Linux and  Firmware Test Suite in-between
BIOS, Linux and Firmware Test Suite in-between
 
Ite pc v40_chapter5
Ite pc v40_chapter5Ite pc v40_chapter5
Ite pc v40_chapter5
 
Distro Recipes 2013: Secure Boot and Linux: several issues, one solution
Distro Recipes 2013: Secure Boot and Linux: several issues, one solutionDistro Recipes 2013: Secure Boot and Linux: several issues, one solution
Distro Recipes 2013: Secure Boot and Linux: several issues, one solution
 
Slimline Open Firmware
Slimline Open FirmwareSlimline Open Firmware
Slimline Open Firmware
 
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptdocslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.ppt
 
Bootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinBootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus Bulletin
 

Uefi and bios

  • 1. Write a program in Python/C++ to test that computer is booted with Legacy Boot ROM-BIOS or UEFI.
  • 3. What is BIOS and UEFI..…?
  • 4. BIOS and UEFI are two firmware interfaces for computers which work as an interpreter between the operating system and the computer firmware. Both of these interfaces are used at the startup of the computer to initialize the hardware components and start the operating system.
  • 6.  Installed with a computer in a non-volatile location (PROM/EEPROM)  Initializes low level hardware  Initializes memory controller timings, powers on critical boot devices.  Hands off control to operating system loader  Operating system loader uses firmware interfaces to initialize the operating system.  Referred to as pre-boot firmware  Examples: BIOS and UEFI.
  • 7. What is Extensible Firmware Interface (EFI)  The Extensible Firmware Interface (EFI) is a specification that defines a software interface between an operating system and platform firmware.  EFI is a replacement for older BIOS firmware interface present in all IBM PC – compatible personal computers. 7
  • 9. Transition from EFI to UEFI  The emergence of x64 architecture provides an inflection point to begin industry wide transition to EFI  To encourage transition, the UEFI Forum was created in 2005, which is now responsible for EFI development  UEFI version 2.3 published in May 2009.
  • 10. BIOS firmware  Mechanism used to boot PCs for the last 25+ years  All x86/x64 architecture machines in the market support BIOS firmware.  In early systems (16-bit era) BIOS was used for hardware access  Operating systems would call the BIOS rather than directly accessing the hardware (ex. MS-DOS).  In 32-bit era OSs instead generally directly accessed the hardware using their own device drivers
  • 11. BIOS limitations  BIOS showing its age Over 25 years old. Documentation is scattered.  Non – graphical interface  Programmed in hex/assembly code  Regarded as legacy firmware 11
  • 12. Overcoming BIOS limitations  EFI adds support for a new partition scheme : GUID Partition Table(GPT)  Unlimited partitions can be created (W-128).  Maximum disk and partition size of 9.4 ZB.  UEFI processor mode can be either 32-bit or 64-bit (long mode)  Architecture is modular and extensible  Graphical user interface  Can be programmed in C/C++  EFI interfaces are object oriented