SlideShare una empresa de Scribd logo
1 de 13
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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Linux Porting
Linux PortingLinux Porting
Linux Porting
 
Bios
BiosBios
Bios
 
Linux booting procedure
Linux booting procedureLinux booting procedure
Linux booting procedure
 
Bios
Bios Bios
Bios
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal Bootloader
 
Bios uefi y legacy
Bios uefi y legacyBios uefi y legacy
Bios uefi y legacy
 
Uboot startup sequence
Uboot startup sequenceUboot startup sequence
Uboot startup sequence
 
Embedded_Linux_Booting
Embedded_Linux_BootingEmbedded_Linux_Booting
Embedded_Linux_Booting
 
PCI Drivers
PCI DriversPCI Drivers
PCI Drivers
 
USB Drivers
USB DriversUSB Drivers
USB Drivers
 
Basics of boot-loader
Basics of boot-loaderBasics of boot-loader
Basics of boot-loader
 
5 post , bios , cmos
5 post , bios , cmos5 post , bios , cmos
5 post , bios , cmos
 
U-Boot presentation 2013
U-Boot presentation  2013U-Boot presentation  2013
U-Boot presentation 2013
 
Linux Booting Steps
Linux Booting StepsLinux Booting Steps
Linux Booting Steps
 
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
 
Bios, cmos and post
Bios, cmos and postBios, cmos and post
Bios, cmos and post
 
U-Boot - An universal bootloader
U-Boot - An universal bootloader U-Boot - An universal bootloader
U-Boot - An universal bootloader
 
Bios
BiosBios
Bios
 
BusyBox for Embedded Linux
BusyBox for Embedded LinuxBusyBox for Embedded Linux
BusyBox for Embedded Linux
 
HKG15-505: Power Management interactions with OP-TEE and Trusted Firmware
HKG15-505: Power Management interactions with OP-TEE and Trusted FirmwareHKG15-505: Power Management interactions with OP-TEE and Trusted Firmware
HKG15-505: Power Management interactions with OP-TEE and Trusted Firmware
 

Similar a 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 uefiFaizan Mushtaq
 
Bootkits: past, present & future
Bootkits: past, present & futureBootkits: past, present & future
Bootkits: past, present & futureAlex 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 systemsPrabathSamarasinghe2
 
Presentation about Bios
Presentation about BiosPresentation about Bios
Presentation about BiosNaveedmte
 
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-betweenAlex 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 solutionAnne Nicolas
 
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptdocslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptPrasannaDeSilva7
 
Bootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinBootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinESET
 

Similar a 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