函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This can be used from process context to figure out what the value of* CR3 is without needing to do a (slow) __read_cr3().* It's intended to be used for code like KVM that sneakily changes CR3* and needs to restore it. It needs to be used very carefully.

函数原型:static inline unsigned long __get_current_cr3_fast(void)

返回类型:unsigned long

参数:

352  cr3等于build_cr3(pgd, Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(loaded_mm_asid))
356  VM_WARN_ON(in_nmi() || preemptible())
358  VM_BUG_ON(cr3 != Careful! CR3 contains more than just an address. You probably want* read_cr3_pa() instead.)
359  返回:cr3