Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/smp/
Dapu_boot.S32 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.8/kernel/src/
Dhead.S142 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.8/kernel/src/driver/interrupt/apic/
Dapic.c125 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()
219 uint32_t eax, edx; in __local_apic_x2apic_init() local
228 : "=a"(eax), "=d"(edx)::"memory"); in __local_apic_x2apic_init()
229 if (eax & 0x100) in __local_apic_x2apic_init()
231 if (eax & 0x1000) in __local_apic_x2apic_init()
238 : "=a"(eax), "=d"(edx)::"memory"); in __local_apic_x2apic_init()
240 local_apic_max_LVT_entries = ((eax >> 16) & 0xff) + 1; in __local_apic_x2apic_init()
[all …]
/DragonOS-0.1.8/kernel/src/libs/
Dcpu.c94 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.8/kernel/src/common/
Dcpu.h47 void cpu_cpuid(uint32_t mop, uint32_t sop, uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *e…