Searched refs:eax (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.7/kernel/src/smp/ |
D | apu_boot.S | 32 leal (_apu_code32 - _apu_boot_base)(%esi), %eax 33 movl %eax, (_apu_code32_vector - _apu_boot_base) 35 leal (_apu_code64 - _apu_boot_base)(%esi), %eax 36 movl %eax, (_apu_code64_vector - _apu_boot_base) 38 leal (_apu_tmp_gdt - _apu_boot_base)(%esi), %eax 39 movl %eax, (_apu_tmp_gdt + 2 - _apu_boot_base) 68 leal (_apu_boot_tmp_stack_end - _apu_boot_base)(%esi), %eax 69 movl %eax, %esp 72 mov %cr4, %eax 73 or $(1<<5), %eax [all …]
|
/DragonOS-0.1.7/kernel/src/ |
D | head.S | 142 mov %eax, mb2_magic 147 mov %cr4, %eax 148 or $(1<<5), %eax 149 mov %eax, %cr4 152 mov $pml4, %eax 155 mov %ebx, 0(%eax) 158 mov $pdpt, %eax 161 mov %ebx, 0(%eax) 164 mov $pd, %eax 167 mov %ebx, 0(%eax) [all …]
|
/DragonOS-0.1.7/kernel/src/driver/interrupt/apic/ |
D | apic.c | 125 uint eax, edx; in apic_init_ap_core_local_apic() local 135 eax = ia32_apic_base & 0xffffffff; in apic_init_ap_core_local_apic() 138 if ((eax & 0xc00) == 0xc00) in apic_init_ap_core_local_apic() 140 else if ((eax & 0x800) == 0x800) in apic_init_ap_core_local_apic() 216 uint32_t eax, edx; in __local_apic_x2apic_init() local 225 : "=a"(eax), "=d"(edx)::"memory"); in __local_apic_x2apic_init() 226 if (eax & 0x100) in __local_apic_x2apic_init() 228 if (eax & 0x1000) in __local_apic_x2apic_init() 235 : "=a"(eax), "=d"(edx)::"memory"); in __local_apic_x2apic_init() 237 local_apic_max_LVT_entries = ((eax >> 16) & 0xff) + 1; in __local_apic_x2apic_init() [all …]
|
/DragonOS-0.1.7/kernel/src/libs/ |
D | cpu.c | 94 void cpu_cpuid(uint32_t mop, uint32_t sop, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *e… in cpu_cpuid() argument 99 : "=a"(*eax), "=b"(*ebx), "=c"(*ecx), "=d"(*edx) in cpu_cpuid()
|
/DragonOS-0.1.7/kernel/src/common/ |
D | cpu.h | 47 void cpu_cpuid(uint32_t mop, uint32_t sop, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *e…
|