函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-27 09:26:19
Last Modify:2020-03-16 21:21:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:native_safe_apic_wait_icr_idle

函数原型:unsigned int native_safe_apic_wait_icr_idle(void)

返回类型:unsigned int

参数:

258  timeout等于0
259  循环
260  send_status等于apic_read(APIC_ICR)按位与APIC_ICR_BUSY
261  如果非send_status退出
263  inc_irq_stat(icr_read_retry_count)
264  0x10c7 is 2**32 / 1000000 (rounded up) (100)
265 timeout自加小于1000循环
267  返回:send_status