UEFI




























EFI_SYSTEM_TABLE系统表,是个结构体,诸多成员:











https://blog.csdn.net/u011280717/article/details/125394393
https://blog.csdn.net/wangadi057612/article/details/122793477
https://blog.csdn.net/zhangliang19950813/article/details/122687998
https://blog.csdn.net/weixin_45279063/article/details/114640031
https://blog.csdn.net/Lq19880521/article/details/79699402

https://blog.csdn.net/zhangliang19950813/article/details/122967191
https://blog.csdn.net/u011280717/article/details/124343233
https://blog.csdn.net/fell_sky/article/details/118407145
https://blog.csdn.net/weixin_45279063/article/details/114936569
https://blog.csdn.net/CStyle_0x007/article/details/110207241
https://blog.csdn.net/Life_Maze/article/details/99292388
https://blog.csdn.net/Lq19880521/article/details/79699402

自行定义一个PPI,里面包含一个数值BscDefinedValue和一个函数,

该函数就是把传入的数值加1返回,

然后在另外PEIM Locate PPI,

通过PPI的成员函数把BscDefinedValue传入获取结果,

更新到自定义的数值类型PCD(PcdBscDefinedValue)内,

并Debug Log打印该数值是否符合预期;

在ADVANCED界面新建一个数值类型的选项,

选项值自定义,

然后自行找一个PEIM里获取该选项值,

然后通过Hob形式传递到DXE Driver(BscPkg\Common\SmbiosDynamicUpdateDxe),

该Driver把获取到的HOB值与PCD(PcdBscDefinedValue)相加后,

转成字符串填入SMBIOS Type 0中的BIOS Version字段,

然后编译出版本在机器上修改选项验证SMBIOS的显示效果;

https://blog.csdn.net/weixin_45279063/article/details/115178009#t5
https://blog.csdn.net/u011280717/article/details/124343233#t1
https://blog.csdn.net/wangadi057612/article/details/122793477
https://blog.csdn.net/Life_Maze/article/details/99292388

https://blog.csdn.net/Life_Maze/article/details/102387259
https://blog.csdn.net/choumin/article/details/112505555
https://blog.csdn.net/weixin_45279063/article/details/115375660
https://blog.csdn.net/tiantao2012/article/details/61913784

https://maxwell.blog.csdn.net/article/details/76795283 uefi bios pei 阶段最重要的一个数据结构(结构体)

posted @ 2022-07-21 20:54  像走了一光年  阅读(225)  评论(0编辑  收藏  举报