函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\apic.h Create Date:2022-07-27 08:27:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:default_get_apic_id

函数原型:static inline unsigned default_get_apic_id(unsigned long x)

返回类型:unsigned

参数:

类型参数名称
unsigned longx
467  ver等于GET_APIC_VERSION(apic_read(APIC_LVR))
469  如果APIC_XAPIC(ver)或boot_cpu_has(Extended APICID (8 bits) )则返回:x右移24位按位与0xFF
471  否则返回:x右移24位按位与0x0F