Function report | 
Source Code:arch\x86\kernel\apic\apic.c | 
Create Date:2022-07-28 08:26:47 | 
| Last Modify:2020-03-16 21:21:31 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Temporary interrupt handler and polled calibration function.
Proto:static void __init lapic_cal_handler(struct clock_event_device *dev)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct clock_event_device * | dev | 
| 729 | tsc = 0 | 
| 730 | tapic = apic_read(APIC_TMCCT) | 
| 731 | pm = acpi_pm_read_early() | 
| 733 | If boot_cpu_has(Time Stamp Counter ) Then tsc = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer | 
| 737 | Case ++ == 0 | 
| 738 | lapic_cal_t1 = tapic | 
| 739 | lapic_cal_tsc1 = tsc | 
| 740 | lapic_cal_pm1 = pm | 
| 741 | lapic_cal_j1 = jiffies | 
| 742 | Break | 
| 745 | lapic_cal_t2 = tapic | 
| 746 | lapic_cal_tsc2 = tsc | 
| 747 | If pm < lapic_cal_pm1 Then pm += Overrun value | 
| 749 | lapic_cal_pm2 = pm | 
| 750 | lapic_cal_j2 = jiffies | 
| 751 | Break | 
| Name | Describe | 
|---|---|
| calibrate_APIC_clock | 
| 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  |