Function report |
Source Code:arch\x86\kernel\cpu\transmeta.c |
Create Date:2022-07-28 07:59:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_transmeta
Proto:static void init_transmeta(struct cpuinfo_x86 *c)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
26 | cpu_freq = 0 |
35 | cpu_rev = 0 |
36 | If max >= 0x80860001 Then |
38 | If cpu_rev != 0x02000000 Then |
47 | If max >= 0x80860002 Then |
48 | cpuid(0x80860002, & new_cpu_rev, & cms_rev1, & cms_rev2, & dummy) |
49 | If cpu_rev == 0x02000000 Then |
50 | pr_info("CPU: Processor revision %08X, %u MHz\n", new_cpu_rev, cpu_freq) |
60 | If max >= 0x80860006 Then |
61 | cpuid(0x80860003, (void * ) & cpu_info[0], (void * ) & cpu_info[4], (void * ) & cpu_info[8], (void * ) & cpu_info[12]) |
66 | cpuid(0x80860004, (void * ) & cpu_info[16], (void * ) & cpu_info[20], (void * ) & cpu_info[24], (void * ) & cpu_info[28]) |
71 | cpuid(0x80860005, (void * ) & cpu_info[32], (void * ) & cpu_info[36], (void * ) & cpu_info[40], (void * ) & cpu_info[44]) |
76 | cpuid(0x80860006, (void * ) & cpu_info[48], (void * ) & cpu_info[52], (void * ) & cpu_info[56], (void * ) & cpu_info[60]) |
81 | cpu_info[64] = '\0' |
88 | x86_capability[CPUID_1_EDX] = cpuid_edx(0x00000001) |
99 | randomize_va_space = 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |