当前位置:网站首页>GNU EFI header file
GNU EFI header file
2022-04-23 06:26:00 【lingedeng】
GNU-EFI is a very lightweight developing environment to create UEFI applications. The EDK2 is a large, complex environment with its own build system. GNU-EFI on the other hand is a set of libraries and headers for compiling UEFI applications with a system's native GCC.
efi.h: Contains other header files
"eficompiler.h", "efidef.h", "efidevp.h", "efipciio.h", "efiprot.h", "eficon.h", "efiser.h", "efi_nii.h", "efipxebc.h", "efinet.h", "efiapi.h", "efifs.h", "efierr.h", "efiui.h", "efiip.h", "efiudp.h", "efitcp.h", "efipoint.h","efisetjmp.h"
efilib.h:
contain efi Use global variables in your application , EFI_GUID And common methods
extern EFI_SYSTEM_TABLE *ST;
#define gST ST
extern EFI_BOOT_SERVICES *BS;
#define gBS BS
extern EFI_RUNTIME_SERVICES *RT;
#define gRT RT
Common methods :
InitializeLib, Print, WaitForSingleEvent, GetShellArgcArgv etc.
And memory ( pool ) operation ,GUID operation , String manipulation , Arithmetic operations , lock , Input / Output , String to integer , Floating point conversion , event , Documents, etc.
efiapi.h:
Define the main data structure and the method prototype in the structure :
typedef struct _EFI_SYSTEM_TABLE {...} EFI_SYSTEM_TABLE;
typedef struct _EFI_BOOT_SERVICES {...} EFI_BOOT_SERVICES;
typedef struct {...} EFI_RUNTIME_SERVICES;
eficompiler.h: Defined Microsoft Compiler related macro definitions
efidef.h: Defined gnu-efi Variable types used in ( Include : Basic types ,GUID, Time ,IP/MAC Address, etc )
efidevp.h: Defined EFI Device path related structure in
efipciio.h: Defined EFI PCI Bus IO Related structures and methods
efiprot.h: Defined EFI Protocols supported in
eficon.h:
Defined EFI in console Protocol and operation method
typedef struct _SIMPLE_TEXT_OUTPUT_INTERFACE {...} SIMPLE_TEXT_OUTPUT_INTERFACE, EFI_SIMPLE_TEXT_OUT_PROTOCOL;
typedef struct _SIMPLE_INPUT_INTERFACE {...} SIMPLE_INPUT_INTERFACE, EFI_SIMPLE_TEXT_IN_PROTOCOL;
efiser.h: Defined EFI Middle serial port (serial) Protocol and operation method
efi_nii.h: Defined EFI Network interface identification protocol in
efipxebc.h: Defined EFI in PXE Base Code agreement
efinet.h: Defined EFI Basic network protocol
efifs.h: Defined EFI Basic file system structure in
efierr.h: Defined EFI Error code in
efiui.h: Defined EFI structure UI The agreement
efiip.h: Defined EFI Use in IPV4/6 Structure and method of
efiudp.h: Defined EFI Use in IPV4/6 UDP Structure and method of protocol
efitcp.h: Defined EFI Use in IPV4/6 TCP Structure and method of protocol
efipoint.h: Defined EFI in SIMPLE POINTER agreement
efisetjmp.h: Defined setjmp,longjmp Two jump methods
版权声明
本文为[lingedeng]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210616198908.html
边栏推荐
- Generate excel template (drop-down selection, multi-level linkage)
- [leetcode 228] summary interval
- 自动控制原理知识点整合归纳(韩敏版)
- PyTorch笔记——观察DataLoader&用torch构建LeNet处理CIFAR-10完整代码
- St table template
- POJ - 2955 brackets interval DP
- On traversal of binary tree
- 深入理解去噪论文——FFDNet和CBDNet中noise level与噪声方差之间的关系探索
- Programming training
- Guaba and Computational Geometry
猜你喜欢
In depth source code analysis servlet first program
Reading of denoising papers - [cvpr2022] blind2blind: self supervised image denoising with visible blind spots
MySQL table constraints and table design
Paper on LDCT image reconstruction: edge enhancement based transformer for medical image denoising
Generate excel template (drop-down selection, multi-level linkage)
St table template
The bottom implementation principle of thread - static agent mode
Pytorch notes - observe dataloader & build lenet with torch to process cifar-10 complete code
Automatic control (Han min version)
[leetcode 59] spiral matrix II
随机推荐
程序設計訓練
Algèbre linéaire chapitre 2 - matrice et son fonctionnement
Pytorch notes - get familiar with the network construction method by building RESNET (complete code)
Definition of C class and method
Import of data
Common programming records - parser = argparse ArgumentParser()
Advanced operation of idea debug
Fundamentals of SQL: first knowledge of database and SQL - installation and basic introduction - Alibaba cloud Tianchi
線性代數第一章-行列式
POJ - 2955 brackets interval DP
5.The Simple Problem
Integration and induction of knowledge points of automatic control principle (Han min version)
[leetcode 350] intersection of two arrays II
Automatic control (Han min version)
Pytorch notes - observe dataloader & build lenet with torch to process cifar-10 complete code
In depth source code analysis servlet first program
程序设计训练
Protected (members modified by protected are visible to this package and its subclasses)
List segmentation best practices
Pytorch introduction notes - use a simple example to observe the output size of each layer of forward propagation