函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Temporary interrupt handler and polled calibration function.

函数原型:static void __init lapic_cal_handler(struct clock_event_device *dev)

返回类型:void

参数:

类型参数名称
struct clock_event_device *dev
729  tsc等于0
730  tapic等于apic_read(APIC_TMCCT)
731  pm等于acpi_pm_read_early()
733  如果boot_cpu_has(Time Stamp Counter )则tsc等于dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
737  :++ == 0
738  lapic_cal_t1等于tapic
739  lapic_cal_tsc1等于tsc
740  lapic_cal_pm1等于pm
741  lapic_cal_j1等于jiffies
742  退出
744  :++ == In this functions we calibrate APIC bus clocks to the external timer
745  lapic_cal_t2等于tapic
746  lapic_cal_tsc2等于tsc
747  如果pm小于lapic_cal_pm1pm加等于Overrun value
749  lapic_cal_pm2等于pm
750  lapic_cal_j2等于jiffies
751  退出
调用者
名称描述
calibrate_APIC_clock