函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Setup the local APIC timer for this CPU. Copy the initialized values* of the boot CPU and register the clock event in the framework.

函数原型:static void setup_APIC_timer(void)

返回类型:void

参数:

648  levt等于this_cpu_ptr( & lapic_events)
650  如果this_cpu_has(Always Running APIC Timer )则
651  features与等于CLOCK_EVT_FEAT_C3STOP的反
653  rating等于150
656  memcpy(levt, & The local apic timer can be used for any function which is CPU local., levt的长度)
657  cpumask等于cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(当前cpu ID())
659  如果this_cpu_has(TSC deadline timer )则
660  name等于"lapic-deadline"
661  features与等于CLOCK_EVT_FEAT_PERIODIC按位或CLOCK_EVT_FEAT_DUMMY的值的反
663  set_next_event等于lapic_next_deadline
664  lockevents_config_and_register - Configure and register a clock event device*@dev: device to register*@freq: The clock frequency*@min_delta: The minimum clock ticks to program in oneshot mode*@max_delta: The maximum clock ticks to program in oneshot mode
667  否则lockevents_register_device - register a clock event device*@dev: device to register
调用者
名称描述
x86_init_noopSetup the boot APIC* Calibrate and verify the result.
x86_init_noop