SlideShare a Scribd company logo
1 of 30
Unified Extensible Firmware
Interface
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.

2
Position of EFI

3
What is firmware…?
Installed with a computer
(PROM/EEPROM)
Initializes low level hardware

in

a

non-volatile

location

 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 EFI.
4
BIOS firmware (de-facto standard)
Mechanism used to boot PCs for the last 25+ years
 All x86/x64 architecture machines in the market support BIOS firmware.

BIOS has 16-bit architecture
 1 Mb addressable space.

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).

5
BIOS firmware (cont.)
In 32-bit era OSs instead generally directly accessed the
hardware using their own device drivers
Role of BIOS has changed over time
 Primarily used for booting a system.
 Also for certain additional features like Power Management(ACPI), Video
Initialization(X.org), hot swapping.

6
BIOS limitations
BIOS is a real mode environment
 16-bit real mode interfaces.

BIOS systems with MBR disks use 32-bit values to
describe the starting offset and length of a partition
 MBR allows a maximum disk size of approx. 2.2 TB and a maximum
of four primary partitions.

7
BIOS limitations (cont.)
BIOS showing its age
 Over 25 years old.
 Documentation is scattered.
 Interfaces have evolved in an ad-hoc manner as technical
advances exposed limitations.

Non – graphical interface
Programmed in hex/assembly code
Regarded as legacy firmware
8
EFI Firmware (Motivation & History)
EFI creation motivated by Itanium bring up



Desire to avoid BIOS limitations in a brand new high end architecture.
Also designed as a BIOS replacement.

 Initially known as Intel Boot Initiative
 Modern design incorporates twenty five years of progress in
computer science
 Well specified, largely in one self-contained document

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
 Broad industry forum with common goal.
 UEFI version 2.3 published in May 2009.

Forum members :
 AMD, American Megatrends, Apple, Dell, HP, IBM, Insyde Software, Intel,
Lenovo, Microsoft, Phoenix Technologies.
10
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





More accessible than BIOS
Graphical user interface
Can be programmed in C/C++
EFI interfaces are object oriented
11
Firmware roadmap goals
Enable mainstream 64-bit computing
Achieve firmware independence
Transition away from BIOS to EFI
 Removal of BIOS architectural barriers will enable new scenarios over
time.

Avoid jarring changes during this transition
Support boot of older operating system on UEFI platform
12
Simplifying UEFI transition
Firmware footprint for both 32-bit and 64-bit UEFI
implementations on same machines is cost prohibitive
Nearly all processors are 64-bit capable
 64-bit computing is the wave of the future

Little motivation to support 32-bit UEFI boot
 32-bit systems most boot Windows via BIOS

Differences between UEFI and BIOS environments are
abstracted from the end user wherever possible
13
Overall view of boot time line

14
Understanding GPT
GUID Partition Table (GPT) partitioning is required for
UEFI boot





Partition table information stored in GPT header.
Stores MBR entry in first sector of disk.
Uses Logical Block Addressing.
Provides redundancy, writing header and partition table both at beginning
and end.

15
GPT disk partitioning

16
A new partition
EFI System Partition (ESP)
 Formatted using FAT variant.
 Contains the boot loader program, device driver files.
 System utility programs that are intended to run before OS is booted.

17
Disk Partitioning in MBR
Partition length & partition start address stored as 32-bit
quantities
Sector size 2^9 = 512 bytes
Neither max. partition size, nor max. start address can
exceed
 2^9 * 2^32 = 2^41 bytes.
 2 * 2^40 = 2 TiB.

18
…in GPT
512 byte sector
 2^64 * 2^9 = 2^73
 2^73 = 9.4 ZiB

…warning from Apple Inc.
 “Do not assume that the block size is always going to be 512 bytes”.

Hardware manufacturers are completing the transition to
4096-byte sectors
 2^64 * 2^12 = 2^76

19
Logical Block Addressing
Common scheme for specifying the location of blocks of
data
Particularly simple linear addressing scheme
Introduced as an abstraction
In 2002, ATA-6 introduced 48-bit LBA

20
Conversion between CHS & LBA
LBA = ((C * HPC) + H) * SPT + S – 1





C,H & S are cylinder no., head no., sector no.
LBA is the logical block address.
HPC is the no. of heads per cylinder.
SPT is the no. of sectors per track.

S = (LBA mod SPT) + 1
H = (LBA / SPT) mod HPC
C = LBA / (SPT * HPC)
21
UEFI only installs on UEFI
To install via EFI requires that the installation be booted
via EFI (vice-versa)
The OS installer must configure the ESP, including OS
metadata(boot options)
Once the OS is installed via EFI it can only boot via EFI
 Booting via BIOS cannot access the metadata on the ESP.

22
Optimized Performance…

23
Performance (cont.)

24
Performance (cont.)

25
Advantages of UEFI
Reduce 16-bit code from boot environment
Embrace 64-bit native code for x64 arch.
Specified standard for booting an OS
Engineering agility in pre-operating system space
 Clean, architected interfaces.
 Active industry standard working group.

Move beyond legacy BIOS
 Improved boot graphics.
 Faster network boot performance.
26
UEFI Implementation
Microsoft Windows





Windows XP 64-bit.
Windows server 2008 for x64 and Intel Itanium based platform.
Windows 7.
64-bit windows versions only.

Apple Macintosh
 Intel based Macs.
 Since Mac OS X v10.4 (Tiger).

Linux platforms
 Used since early 2000, using elilo.
 EFI versions of GRUB are available.
27
UEFI and the Industry
 11 Promoters
 20+ Contributors
 70+ Adopters

100
80
60
40
20
0
2006

2007

UEFI Framework
Based %

2008

2009

2010

Legacy Based %

28
Q&A

29
Thank you

30

More Related Content

What's hot (20)

Bios
BiosBios
Bios
 
Boot process: BIOS vs UEFI
Boot process: BIOS vs UEFIBoot process: BIOS vs UEFI
Boot process: BIOS vs UEFI
 
Bios
Bios Bios
Bios
 
booting steps of a computer
booting steps of a computerbooting steps of a computer
booting steps of a computer
 
Windows file system
Windows file systemWindows file system
Windows file system
 
Uefi and bios
Uefi and biosUefi and bios
Uefi and bios
 
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
 
Disk partitioning
Disk partitioningDisk partitioning
Disk partitioning
 
Introduction to Modern U-Boot
Introduction to Modern U-BootIntroduction to Modern U-Boot
Introduction to Modern U-Boot
 
U boot porting guide for SoC
U boot porting guide for SoCU boot porting guide for SoC
U boot porting guide for SoC
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal Bootloader
 
Booting and Start-up Sequence
Booting and Start-up SequenceBooting and Start-up Sequence
Booting and Start-up Sequence
 
Understanding The Boot Process
Understanding The Boot ProcessUnderstanding The Boot Process
Understanding The Boot Process
 
Bios powerpoint numero dos
Bios powerpoint numero dosBios powerpoint numero dos
Bios powerpoint numero dos
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
Linux boot process
Linux boot processLinux boot process
Linux boot process
 
Linux Initialization Process (2)
Linux Initialization Process (2)Linux Initialization Process (2)
Linux Initialization Process (2)
 
20130729 advantech bios-training
20130729 advantech bios-training20130729 advantech bios-training
20130729 advantech bios-training
 
Linux booting process
Linux booting processLinux booting process
Linux booting process
 
Windows installation
Windows installationWindows installation
Windows installation
 

Viewers also liked

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 Updateinsydesoftware
 
Description of GRUB 2
Description of GRUB 2Description of GRUB 2
Description of GRUB 2iamumr
 
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 Systeminsydesoftware
 
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
 
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
 
Bios uefi y legacy
Bios uefi y legacyBios uefi y legacy
Bios uefi y legacy
 
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 Unified Extensible Firmware Interface (UEFI)

07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)Akhila Dakshina
 
Bootkits: past, present & future
Bootkits: past, present & futureBootkits: past, present & future
Bootkits: past, present & futureAlex Matrosov
 
1 study of motherboard
1 study of motherboard1 study of motherboard
1 study of motherboardAnkit Dubey
 
Bootloaders (U-Boot)
Bootloaders (U-Boot) Bootloaders (U-Boot)
Bootloaders (U-Boot) Omkar Rane
 
Review paper on bios vs uefi
Review  paper on bios vs uefiReview  paper on bios vs uefi
Review paper on bios vs uefiFaizan Mushtaq
 
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
 
Raj Amrutiya PPT.pptx
Raj Amrutiya PPT.pptxRaj Amrutiya PPT.pptx
Raj Amrutiya PPT.pptxRajAmrutiya1
 
mother-board-and-bios.ppt
mother-board-and-bios.pptmother-board-and-bios.ppt
mother-board-and-bios.pptShijiSH2
 
Bootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinBootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinESET
 
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptdocslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptPrasannaDeSilva7
 
Computer hardware and networking by Pradeep Kudale
Computer hardware and networking by Pradeep KudaleComputer hardware and networking by Pradeep Kudale
Computer hardware and networking by Pradeep Kudaleshailu26
 
Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"
Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"
Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"Piotr Król
 
group6 report
group6  reportgroup6  report
group6 reportgroup6ait
 

Similar to Unified Extensible Firmware Interface (UEFI) (20)

07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)
 
Bootkits: past, present & future
Bootkits: past, present & futureBootkits: past, present & future
Bootkits: past, present & future
 
1 study of motherboard
1 study of motherboard1 study of motherboard
1 study of motherboard
 
Bootloaders (U-Boot)
Bootloaders (U-Boot) Bootloaders (U-Boot)
Bootloaders (U-Boot)
 
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
 
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
 
Raj Amrutiya PPT.pptx
Raj Amrutiya PPT.pptxRaj Amrutiya PPT.pptx
Raj Amrutiya PPT.pptx
 
101 1.1 hardware settings
101 1.1 hardware settings101 1.1 hardware settings
101 1.1 hardware settings
 
mother-board-and-bios.ppt
mother-board-and-bios.pptmother-board-and-bios.ppt
mother-board-and-bios.ppt
 
Bootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus BulletinBootkits: Past, Present & Future - Virus Bulletin
Bootkits: Past, Present & Future - Virus Bulletin
 
OS_Intro_Chap_1.ppt
OS_Intro_Chap_1.pptOS_Intro_Chap_1.ppt
OS_Intro_Chap_1.ppt
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
 
Ite pc v40_chapter5
Ite pc v40_chapter5Ite pc v40_chapter5
Ite pc v40_chapter5
 
docslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.pptdocslide-3df5a529-2ffd-ef23.ppt
docslide-3df5a529-2ffd-ef23.ppt
 
Computer hardware and networking by Pradeep Kudale
Computer hardware and networking by Pradeep KudaleComputer hardware and networking by Pradeep Kudale
Computer hardware and networking by Pradeep Kudale
 
Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"
Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"
Booting UEFI-aware OS on coreboot enabled platform - "In God's Name, Why?"
 
group6 report
group6  reportgroup6  report
group6 report
 
Slimline Open Firmware
Slimline Open FirmwareSlimline Open Firmware
Slimline Open Firmware
 

More from k33a

Audit Principles
Audit PrinciplesAudit Principles
Audit Principlesk33a
 
An Overview of Consumer Privacy Regulations for TSPs in India
An Overview of Consumer Privacy Regulations for TSPs in IndiaAn Overview of Consumer Privacy Regulations for TSPs in India
An Overview of Consumer Privacy Regulations for TSPs in Indiak33a
 
Security Information and Event Management (SIEM)
Security Information and Event Management (SIEM)Security Information and Event Management (SIEM)
Security Information and Event Management (SIEM)k33a
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
Trusted Platform Module (TPM)
Trusted Platform Module (TPM)Trusted Platform Module (TPM)
Trusted Platform Module (TPM)k33a
 
Bring Your Own Device (BYOD)
Bring Your Own Device (BYOD)Bring Your Own Device (BYOD)
Bring Your Own Device (BYOD)k33a
 
The Communist Manifesto
The Communist ManifestoThe Communist Manifesto
The Communist Manifestok33a
 

More from k33a (7)

Audit Principles
Audit PrinciplesAudit Principles
Audit Principles
 
An Overview of Consumer Privacy Regulations for TSPs in India
An Overview of Consumer Privacy Regulations for TSPs in IndiaAn Overview of Consumer Privacy Regulations for TSPs in India
An Overview of Consumer Privacy Regulations for TSPs in India
 
Security Information and Event Management (SIEM)
Security Information and Event Management (SIEM)Security Information and Event Management (SIEM)
Security Information and Event Management (SIEM)
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Trusted Platform Module (TPM)
Trusted Platform Module (TPM)Trusted Platform Module (TPM)
Trusted Platform Module (TPM)
 
Bring Your Own Device (BYOD)
Bring Your Own Device (BYOD)Bring Your Own Device (BYOD)
Bring Your Own Device (BYOD)
 
The Communist Manifesto
The Communist ManifestoThe Communist Manifesto
The Communist Manifesto
 

Recently uploaded

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 

Recently uploaded (20)

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 

Unified Extensible Firmware Interface (UEFI)

  • 2. 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. 2
  • 4. What is firmware…? Installed with a computer (PROM/EEPROM) Initializes low level hardware in a non-volatile location  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 EFI. 4
  • 5. BIOS firmware (de-facto standard) Mechanism used to boot PCs for the last 25+ years  All x86/x64 architecture machines in the market support BIOS firmware. BIOS has 16-bit architecture  1 Mb addressable space. 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). 5
  • 6. BIOS firmware (cont.) In 32-bit era OSs instead generally directly accessed the hardware using their own device drivers Role of BIOS has changed over time  Primarily used for booting a system.  Also for certain additional features like Power Management(ACPI), Video Initialization(X.org), hot swapping. 6
  • 7. BIOS limitations BIOS is a real mode environment  16-bit real mode interfaces. BIOS systems with MBR disks use 32-bit values to describe the starting offset and length of a partition  MBR allows a maximum disk size of approx. 2.2 TB and a maximum of four primary partitions. 7
  • 8. BIOS limitations (cont.) BIOS showing its age  Over 25 years old.  Documentation is scattered.  Interfaces have evolved in an ad-hoc manner as technical advances exposed limitations. Non – graphical interface Programmed in hex/assembly code Regarded as legacy firmware 8
  • 9. EFI Firmware (Motivation & History) EFI creation motivated by Itanium bring up   Desire to avoid BIOS limitations in a brand new high end architecture. Also designed as a BIOS replacement.  Initially known as Intel Boot Initiative  Modern design incorporates twenty five years of progress in computer science  Well specified, largely in one self-contained document 9
  • 10. 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  Broad industry forum with common goal.  UEFI version 2.3 published in May 2009. Forum members :  AMD, American Megatrends, Apple, Dell, HP, IBM, Insyde Software, Intel, Lenovo, Microsoft, Phoenix Technologies. 10
  • 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     More accessible than BIOS Graphical user interface Can be programmed in C/C++ EFI interfaces are object oriented 11
  • 12. Firmware roadmap goals Enable mainstream 64-bit computing Achieve firmware independence Transition away from BIOS to EFI  Removal of BIOS architectural barriers will enable new scenarios over time. Avoid jarring changes during this transition Support boot of older operating system on UEFI platform 12
  • 13. Simplifying UEFI transition Firmware footprint for both 32-bit and 64-bit UEFI implementations on same machines is cost prohibitive Nearly all processors are 64-bit capable  64-bit computing is the wave of the future Little motivation to support 32-bit UEFI boot  32-bit systems most boot Windows via BIOS Differences between UEFI and BIOS environments are abstracted from the end user wherever possible 13
  • 14. Overall view of boot time line 14
  • 15. Understanding GPT GUID Partition Table (GPT) partitioning is required for UEFI boot     Partition table information stored in GPT header. Stores MBR entry in first sector of disk. Uses Logical Block Addressing. Provides redundancy, writing header and partition table both at beginning and end. 15
  • 17. A new partition EFI System Partition (ESP)  Formatted using FAT variant.  Contains the boot loader program, device driver files.  System utility programs that are intended to run before OS is booted. 17
  • 18. Disk Partitioning in MBR Partition length & partition start address stored as 32-bit quantities Sector size 2^9 = 512 bytes Neither max. partition size, nor max. start address can exceed  2^9 * 2^32 = 2^41 bytes.  2 * 2^40 = 2 TiB. 18
  • 19. …in GPT 512 byte sector  2^64 * 2^9 = 2^73  2^73 = 9.4 ZiB …warning from Apple Inc.  “Do not assume that the block size is always going to be 512 bytes”. Hardware manufacturers are completing the transition to 4096-byte sectors  2^64 * 2^12 = 2^76 19
  • 20. Logical Block Addressing Common scheme for specifying the location of blocks of data Particularly simple linear addressing scheme Introduced as an abstraction In 2002, ATA-6 introduced 48-bit LBA 20
  • 21. Conversion between CHS & LBA LBA = ((C * HPC) + H) * SPT + S – 1     C,H & S are cylinder no., head no., sector no. LBA is the logical block address. HPC is the no. of heads per cylinder. SPT is the no. of sectors per track. S = (LBA mod SPT) + 1 H = (LBA / SPT) mod HPC C = LBA / (SPT * HPC) 21
  • 22. UEFI only installs on UEFI To install via EFI requires that the installation be booted via EFI (vice-versa) The OS installer must configure the ESP, including OS metadata(boot options) Once the OS is installed via EFI it can only boot via EFI  Booting via BIOS cannot access the metadata on the ESP. 22
  • 26. Advantages of UEFI Reduce 16-bit code from boot environment Embrace 64-bit native code for x64 arch. Specified standard for booting an OS Engineering agility in pre-operating system space  Clean, architected interfaces.  Active industry standard working group. Move beyond legacy BIOS  Improved boot graphics.  Faster network boot performance. 26
  • 27. UEFI Implementation Microsoft Windows     Windows XP 64-bit. Windows server 2008 for x64 and Intel Itanium based platform. Windows 7. 64-bit windows versions only. Apple Macintosh  Intel based Macs.  Since Mac OS X v10.4 (Tiger). Linux platforms  Used since early 2000, using elilo.  EFI versions of GRUB are available. 27
  • 28. UEFI and the Industry  11 Promoters  20+ Contributors  70+ Adopters 100 80 60 40 20 0 2006 2007 UEFI Framework Based % 2008 2009 2010 Legacy Based % 28