函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Read NSC/Cyrix DEVID registers (DIR) to get more detailed info. about the CPU

函数原型:static void __do_cyrix_devid(unsigned char *dir0, unsigned char *dir1)

返回类型:void

参数:

类型参数名称
unsigned char *dir0
unsigned char *dir1
26  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)
27  setCx86(CX86_CCR3, ccr3 ^ 0x80)
28  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)
30  如果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)恒等于ccr3
31  ccr2等于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)
32  setCx86(CX86_CCR2, ccr2 ^ 0x04)
33  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)
35  如果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)恒等于ccr2dir0等于0xfd
37  否则
39  dir0等于0xfe
41  否则
42  setCx86(CX86_CCR3, ccr3)
45  dir0等于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)
46  dir1等于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)
调用者
名称描述
do_cyrix_devid
early_init_cyrix