函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\cyrix.c Create Date:2022-07-27 08:59:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Reset the slow-loop (SLOP) bit on the 686(L) which is set by some old* BIOSes for compatibility with DOS games. This makes the udelay loop* work correctly, and improves performance.* FIXME: our newer udelay uses the tsc. We don't need to frob with SLOP

函数原型:static void check_cx686_slop(struct cpuinfo_x86 *c)

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
97  如果Cx86_dir0_msb is a HACK needed by check_cx686_cpuid/slop in bugs.h in* order to identify the Cyrix CPU model after we're out of setup.c* Actually since bugs.h doesn't even reference this perhaps someone should* fix the documentation ???恒等于3则
100  local_irq_save(flags)
101  ccr3等于NSC/Cyrix CPU indexed register access. Must be inlined instead of* macros to ensure correct access ordering* Access order is always 0x22 (=offset), 0x23 (=value)
102  setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10)
103  ccr5等于NSC/Cyrix CPU indexed register access. Must be inlined instead of* macros to ensure correct access ordering* Access order is always 0x22 (=offset), 0x23 (=value)
104  如果ccr5按位与2则setCx86(CX86_CCR5, ccr5 & 0xfd)
106  setCx86(CX86_CCR3, ccr3)
107  local_irq_restore(flags)
109  如果ccr5按位与2则
110  打印信息("Recalibrating delay loop with SLOP bit reset\n")
111  calibrate_delay()
调用者
名称描述
init_cyrix