Function report |
Source Code:arch\x86\kernel\cpu\mce\amd.c |
Create Date:2022-07-28 08:03:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Reprogram MCx_MISC MSR behind this threshold bank.
Proto:static void threshold_restart_bank(void *_tr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
void * | _tr |
384 | If * Value upon which threshold * interrupt is generated. < (hi & THRESHOLD_MAX) Then reset = 1 |
387 | If reset Then |
391 | Else if old_limit Then |
392 | new_count = (hi & THRESHOLD_MAX) + old_limit - * Value upon which threshold * interrupt is generated. |
395 | hi = hi & ~MASK_ERR_COUNT_HI | new_count & THRESHOLD_MAX |
400 | hi &= ~MASK_INT_TYPE_HI |
402 | If Not Bank can generate an interrupt. Then Go to done |
405 | If set_lvt_off Then |
406 | If lvt_off_valid(b, lvt_off, lo, hi) Then |
408 | hi &= ~MASK_LVTOFF_HI |
413 | If Enable/Disable APIC interrupt Then hi |= INT_TYPE_APIC |
416 | done : |
418 | hi |= MASK_COUNT_EN_HI |
419 | wrmsr( MSR address for the block , lo, hi) |
Name | Describe |
---|---|
mce_threshold_block_init | |
log_and_reset_block |
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 |