函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\microcode\amd.c |
Create Date:2022-07-27 09:09:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:AMD microcode firmware naming convention, up to family 15h they are in* the legacy file:* amd-ucode/microcode_amd.bin* This legacy file is always smaller than 2K in size.* Beginning with family 15h, they are in family-specific firmware files:
函数原型:static enum ucode_state request_microcode_amd(int cpu, struct device *device, bool refresh_fw)
返回类型:enum ucode_state
参数:
类型 | 参数 | 名称 |
---|---|---|
int | cpu | |
struct device * | device | |
bool | refresh_fw |
891 | fw_name[36]等于"amd-ucode/microcode_amd.bin" |
894 | ret等于UCODE_NFOUND |
898 | 如果非refresh_fw或非bsp则返回:UCODE_OK |
904 | 如果request_firmware_direct( & fw, (constchar * )fw_name, device)则 |
909 | ret等于UCODE_ERROR |
910 | 如果非Check whether there is a valid microcode container file at the beginning* of @buf of size @buf_size. Set @early to use this function in the early path.则转到:fw_release |
913 | ret等于load_microcode_amd(bsp, CPU family , data, size) |
915 | fw_release : |
916 | release_firmware(fw) |
918 | out : |
919 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |