Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\apic.c Create Date:2022-07-28 08:26:34
Last Modify:2020-03-16 21:21:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:native_safe_apic_wait_icr_idle

Proto:unsigned int native_safe_apic_wait_icr_idle(void)

Type:unsigned int

Parameter:Nothing

258  timeout = 0
259  Do
260  send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY
261  If Not send_status Then Break
263  inc_irq_stat(icr_read_retry_count)
264  0x10c7 is 2**32 / 1000000 (rounded up) (100)
265  When timeout++ < 1000 cycle
267  Return send_status