函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:force_reload_TR

函数原型:static inline void force_reload_TR(void)

返回类型:void

参数:

289  d等于Provide the current original GDT
292  内存复制( & tss, & d[GDT_ENTRY_TSS], sizeof(tss_desc))
298  type等于DESC_TSS
299  write_gdt_entry(d, GDT_ENTRY_TSS, & tss, DESC_TSS)
301  load_TR_desc()
302  抢占保护下的写CPU(__tss_limit_invalid, false)
调用者
名称描述
doublefault_shimCalled by double_fault with CR0.TS and EFLAGS.NT cleared. The CPU thinks* we're running the doublefault task. Cannot return.
refresh_tss_limitCall this if you need the TSS limit to be correct, which should be the case* if and only if you have TIF_IO_BITMAP set or you're switching to a task* with TIF_IO_BITMAP set.
invalidate_tss_limitIf you do something evil that corrupts the cached TSS limit (I'm looking* at you, VMX exits), call this function.* The optimization here is that the TSS limit only matters for Linux if the* IO bitmap is in use