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:40
Last Modify:2020-03-16 21:21:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lapic_next_deadline

Proto:static int lapic_next_deadline(unsigned long delta, struct clock_event_device *evt)

Type:int

Parameter:

TypeParameterName
unsigned longdelta
struct clock_event_device *evt
477  tsc = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
478  wrmsrl(MSR_IA32_TSC_DEADLINE, tsc + (((u64)delta) * TSC_DIVISOR))
479  Return 0