函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\cyrix.c |
Create Date:2022-07-27 08:59:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:init_cyrix
函数原型:static void init_cyrix(struct cpuinfo_x86 *c)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cpuinfo_x86 * | c |
| 193 | dir1等于0 |
| 194 | buf等于x86_model_id |
| 195 | const char * p = NULL |
| 201 | clear_cpu_cap(c, 0 * 32 + 31) |
| 204 | 如果test_cpu_cap(c, 1 * 32 + 24)则 |
| 205 | clear_cpu_cap(c, 1 * 32 + 24) |
| 206 | set_cpu_cap(c, Cyrix MMX extensions ) |
| 209 | do_cyrix_devid( & dir0, & dir1) |
| 218 | x86_stepping等于dir1按位与0xf |
| 230 | p等于Cx486_name[dir0_lsn & 7] |
| 231 | 退出 |
| 234 | p等于如果dir0_lsn按位与8则Cx486D_name[dir0_lsn & 5]否则Cx486S_name[dir0_lsn & 3] |
| 236 | 退出 |
| 244 | Cx86_cb[1]等于' ' |
| 245 | Cx86_cb[2]等于cyrix_model_mult1[dir0_lsn & 5] |
| 246 | 如果dir1大于0x21则 |
| 253 | set_cpu_cap(c, Cyrix ARRs (= MTRRs) ) |
| 255 | set_cpu_bug(c, Cyrix 6x86 coma ) |
| 256 | 退出 |
| 297 | 如果Maximum supported CPUID level, -1=no CPUID: 恒等于2则 |
| 299 | setCx86(CX86_CCR7, 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) | 1) |
| 307 | 如果0x30小于等于dir1且dir1小于等于0x6f或0x80小于等于dir1且dir1小于等于0x8f则Configure later MediaGX and/or Geode processor. |
| 310 | 返回 |
| 311 | 否则 |
| 316 | 退出 |
| 319 | 如果dir1大于7则 |
| 320 | dir0_msn自加 |
| 323 | 否则 |
| 325 | set_cpu_bug(c, Cyrix 6x86 coma ) |
| 328 | Cx86_cb[tmp]等于cyrix_model_mult2[dir0_lsn & 7] |
| 333 | set_cpu_cap(c, Cyrix ARRs (= MTRRs) ) |
| 334 | 退出 |
| 348 | 退出 |
| 350 | 默认 |
| 354 | strcpy(buf, Cx86_model[dir0_msn & 7]) |
| 357 | 返回 |
| 名称 | 描述 |
|---|---|
| init_nsc | Handle National Semiconductor branded processors |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |