Function report |
Source Code:arch\x86\kernel\cpu\microcode\intel.c |
Create Date:2022-07-28 08:08:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:apply_microcode_intel
Proto:static enum ucode_state apply_microcode_intel(int cpu)
Type:enum ucode_state
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | cpu |
| 792 | uci = ucode_cpu_info + cpu |
| 801 | If WARN_ON(These macros fold the SMP functionality into a single CPU system() != cpu) Then Return UCODE_ERROR |
| 805 | mc = find_patch(uci) |
| 806 | If Not mc Then |
| 808 | If Not mc Then Return UCODE_NFOUND |
| 817 | rev = intel_get_microcode_revision() |
| 827 | native_wbinvd() |
| 830 | wrmsrl(MSR_IA32_UCODE_WRITE, (unsignedlong)bits) |
| 832 | rev = intel_get_microcode_revision() |
| 837 | Return UCODE_ERROR |
| 849 | ret = UCODE_UPDATED |
| 851 | out : |
| 859 | Return ret |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |