函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\doublefault_32.c Create Date:2022-07-27 09:39:27
Last Modify:2020-03-17 10:23:57 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Called by double_fault with CR0.TS and EFLAGS.NT cleared. The CPU thinks* we're running the doublefault task. Cannot return.

函数原型:asmlinkage notrace void __noreturn doublefault_shim(void)

返回类型:void

参数:

30  BUILD_BUG_ON - break compile if a condition is true(sizeof(structdoublefault_stack) != PAGE_SIZE)
32  cr2等于native_read_cr2()
35  force_reload_TR()
36  set_df_gdt_entry(当前cpu ID())
38  trace_hardirqs_off()
49  ss等于TSS(ss)
50  __ssh等于0
51  sp等于TSS(sp)
52  flags等于TSS(flags)
53  cs等于TSS(cs)
55  __csh等于0
56  ip等于TSS(ip)
57  orig_ax等于0
58  gs等于TSS(取寄存器值(gs))
59  __gsh等于0
60  fs等于TSS(取寄存器值(fs))
61  __fsh等于0
62  es等于TSS(es)
63  __esh等于0
64  ds等于TSS(取寄存器值(ds))
65  __dsh等于0
66  ax等于TSS(ax)
67  bp等于TSS(bp)
68  di等于TSS(di)
69  si等于TSS(si)
70  dx等于TSS(dx)
71  cx等于TSS(cx)
72  bx等于TSS(bx)
74  Runs on an IST stack for x86_64 and on a special task stack for x86_32.* On x86_64, this is more or less a normal kernel entry. Notwithstanding the* SDM's warnings about double faults being unrecoverable, returning works as* expected
86  panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.