Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\tlbflush.h Create Date:2022-07-28 05:55:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:build_cr3_noflush

Proto:static inline unsigned long build_cr3_noflush(pgd_t *pgd, u16 asid)

Type:unsigned long

Parameter:

TypeParameterName
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  Return __sme_pa(pgd) | Given @asid, compute kPCID | CR3_NOFLUSH