函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:build_cr3_noflush

函数原型:static inline unsigned long build_cr3_noflush(pgd_t *pgd, u16 asid)

返回类型:unsigned long

参数:

类型参数名称
pgd_t *pgd
u16asid
133  VM_WARN_ON_ONCE(asid > ASIDs are zero-based: 0->MAX_AVAIL_ASID are valid. -1 below to account* for them being zero-based. Another -1 is because PCID 0 is reserved for* use by non-PCID-aware users.)
139  VM_WARN_ON_ONCE(!boot_cpu_has(Process Context Identifiers ))
140  返回:__sme_pa(pgd)按位或Given @asid, compute kPCID按位或CR3_NOFLUSH