Function report |
Source Code:arch\x86\kernel\cpu\mce\amd.c |
Create Date:2022-07-28 08:03:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_block_address
Proto:static unsigned int get_block_address(unsigned int current_addr, unsigned int low, unsigned int high, unsigned int bank, unsigned int block, unsigned int cpu)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | current_addr | |
unsigned int | low | |
unsigned int | high | |
unsigned int | bank | |
unsigned int | block | |
unsigned int | cpu |
499 | If * Indicates that overflow conditions are not fatal, when set. Then Return smca_get_block_address(bank, block, cpu) |
504 | Case block == 0 |
507 | Case block == 1 |
508 | offset = (low & MASK_BLKPTR_LO) >> 21 |
509 | If offset Then addr = MCG_XBLK_ADDR + offset |
511 | Break |
512 | Default |
513 | addr = ++current_addr |
515 | Return addr |
Name | Describe |
---|---|
mce_amd_feature_init | pu init entry point, called from mce.c with preempt off |
allocate_threshold_blocks |
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 |