如何UEFI的工作? [英] How does UEFI work?

查看:330
本文介绍了如何UEFI的工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习有关引导程序时,在术语UEFI正好来了。我能理解关于UEFI一些事情。但尽管如此,在何种模式(实时,保护,龙)不具有UEFI系统启动?如果正常的引导装载程序是无法和UEFI的工作,那么什么是在处理UEFI引导装载程序的替代?我还需要其他编程来创建一个,比组装?

I was studying about bootloaders when exactly came upon the term UEFI. I can understand some things about UEFI. But still, In what mode(Real,Protected,Long) does a system with UEFI start? If normal boot loaders cant work with UEFI, Then what is the alternate of boot loader while dealing with UEFI? And do I need any other programming to create one, than assembly?

推荐答案

UEFI固件在64位长模式为64位平台和32位平台平板模式下运行;不像的BIOS,UEFI设有自己的架构,独立的CPU,以及它自己的设备驱动程序。 UEFI可以挂载的分区和读取某些文件系统。

UEFI firmware runs in 64 bit long mode for 64 bit platforms and flat mode for 32 bit platforms; Unlike BIOS, UEFI features its own architecture, independent of the CPU, and its own device drivers. UEFI can mount partitions and read certain file systems.

在配备UEFI一台x86计算机,接口搜索标记标志着它作为EFI系统分区(ESP),特定的全局唯一标识符(GUID)分区的系统存储。 BTW Windows不安装这一分区,你不能看到它的操作系统。但是有一个绝招,你只需在VBR分区类型(使用HexWorkshop)改为定期FAT32 code,它会被安装到操作系统。

When an x86 computer equipped with UEFI, the interface searches the system storage for a partition labeled with a specific globally unique identifier (GUID) that marks it as the EFI System Partition (ESP). BTW Windows doesn't mount this partition and you cannot see it in the OS. But there is a trick, you simply change the partition type (using HexWorkshop) in VBR to regular FAT32 code and it will be mounted into the OS.

该分区包含编为EFI架构的应用程序。一般来说,你不必应付汇编编写一个应用程序UEFI /加载器,它只是一个常规的C code。由默认它位于EFI / BOOT / BOOTX64.EFI。当选择一个引导程序,手动或自动,UEFI读取它进入启动进程的内存和产量控制它。

This partition contains applications compiled for the EFI architecture. In general you don't have to deal with assembler to write a UEFI application/loader, it's just a regular C code. By the default it is located at "EFI/BOOT/BOOTX64.EFI". When a bootloader is selected, manually or automatically, UEFI reads it into the memory and yields control of the boot process to it.

这篇关于如何UEFI的工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆