函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:There is a nasty bug in some older SMP boards, their mptable lies* about the timer IRQ

函数原型:static int __init timer_irq_works(void)

返回类型:int

参数:

1633  t1等于jiffies
1636  如果no_timer_check则返回:1
1639  local_save_flags(flags)
1640  开中断()
1642  如果boot_cpu_has(Time Stamp Counter )则delay_with_tsc()
1644  否则delay_without_tsc()
1647  local_irq_restore(flags)
1658  如果These inlines deal with timer wrapping correctly. You are * strongly encouraged to use them* 1. Because people otherwise forget* 2. Because if the timer wrap changes in future you won't have to* alter your driver code.(jiffies, t1 + 4)则返回:1
1660  返回:0
调用者
名称描述
check_timerThis code may look a bit paranoid, but it's supposed to cooperate with* a wide range of boards and BIOS bugs. Fortunately only the timer IRQ* is so screwy. Thanks to Brian Perkins for testing/hacking this beast* fanatically on his truly buggy board.