Home
last modified time | relevance | path

Searched refs:rax (Results 1 – 24 of 24) sorted by relevance

/kernel/arch/x86/
A Dops.S28 popq %rax
29 andq $0x200, %rax
30 test %rax, %rax
48 leaq .Lgpf_handler(%rip), %rax
59 or %rax, %rdx
62 mov $ZX_OK, %rax
70 mov $ZX_ERR_NOT_SUPPORTED, %rax
77 popq %rax
78 andq $0x200, %rax
79 test %rax, %rax
[all …]
A Dmexec.S38 mov %cr4, %rax
39 and $~X86_CR4_PGE, %rax
40 mov %rax, %cr4
47 lea mexec_gdt(%rip), %rax
48 mov %rax, mexec_gdt_pointer(%rip)
80 mov %rcx, %rax /* rcx and rax contain the number of bytes to be copied */
81 sub $1, %rax /* Move rsi and rdi to the end of their respective buffers */
82 add %rax, %rdi
83 add %rax, %rsi
104 mov (%r10), %rax
[all …]
A Duser_copy.S32 leaq .Lfault_copy(%rip), %rax
33 movq %rax, (%r10)
46 mov $ZX_OK, %rax
57 mov $ZX_ERR_INVALID_ARGS, %rax
A Dimage.S94 mov %rdi, %rax
95 sub $KERNEL_BASE, %rax
101 add %rax, FIXUP_LOCATION(\addr)
104 add %rax, FIXUP_LOCATION(\addr)
105 add %rax, FIXUP_LOCATION(\addr + \stride)
111 add %rax, (%rdx)
A Dasm.S44 xor %rax, %rax
62 xor %rax, %rax
88 lea _idt_startup(%rip), %rax
90 movq %rax, -16+2(%rsp)
A Dstart.S144 mov %cr4, %rax
145 or $(X86_CR4_PGE), %rax
146 mov %rax, %cr4
149 mov $PHYS(pml4), %rax
150 mov %rax, %cr3
163 mov $PHYS(high_entry), %rax
164 addq PHYS(kernel_relocated_base), %rax
165 pushq %rax
194 lea bp_percpu(%rip), %rax
195 mov %rax, %rdx
A Dexceptions.S117 push_reg %rax
141 pop_reg %rax
180 leaq .Lexit(%rip), %rax
186 movq %rax, 0x10(%rsp) // RIP (return address)
A Dacpi.S44 leaq .Lafter_sleep(%rip), %rax
45 movq %rax, 128(%rdi)
A Dsyscall.S304 cmp $ZX_SYS_COUNT, %rax
307 jmp *(%r11, %rax, 8)
378 push_value %rax
383 pop_value %rax
A Dstart16.S185 lea bp_percpu(%rip), %rax
186 mov %rax, %rdx
202 mov 48(%rdi), %rax
A Drules.mk146 KERNEL_COMPILEFLAGS += -mskip-rax-setup
A Ddebugger.cpp32 static_assert(SYSCALL_OFFSETS_EQUAL(rax), "");
68 COPY_REG(out, in, rax); \
A Dfaults.cpp49 frame->rax, frame->rbx, frame->rcx, frame->rdx); in dump_fault_frame()
/kernel/lib/libc/string/arch/x86/
A Dmemset.S22 mov %r11, %rax
34 movzx %sil, %rax
48 mov %r11, %rax
A Dmemcpy.S16 mov %rdi, %rax
27 mov %rdi, %rax
/kernel/arch/x86/hypervisor/
A Dvmexit.cpp252 guest_state->rax &= ~( in handle_cpuid()
269 guest_state->rax = 0; in handle_cpuid()
277 guest_state->rax = 0; in handle_cpuid()
320 guest_state->rax = in handle_cpuid()
371 *out = guest_state->rax; in register_value()
478 guest_state->rax = 0; in handle_io_instruction()
509 guest_state->rax = 0xff; in handle_apic_rdmsr()
520 guest_state->rax = 0; in handle_apic_rdmsr()
528 guest_state->rax = LVT_MASKED; in handle_apic_rdmsr()
588 guest_state->rax = 0; in handle_rdmsr()
[all …]
A Dvmx.S38 mov GS_CR2(%rsp), %rax
39 mov %rax, %cr2
42 mov GS_RAX(%rsp), %rax
91 mov %rax, GS_RAX(%rsp)
108 mov %cr2, %rax
109 mov %rax, GS_CR2(%rsp)
A Dvcpu.cpp821 out->rax = in.rax; in register_copy()
879 memcpy(&vmx_state_.guest_state.rax, io->data, io->access_size); in WriteState()
/kernel/arch/x86/include/arch/
A Dasm_macros.h56 .cfi_same_value %rax ; \
75 .cfi_undefined %rax ; \
A Dx86.h29 uint64_t rdi, rsi, rbp, rbx, rdx, rcx, rax; // pushed by common handler member
/kernel/arch/x86/include/arch/x86/
A Dgeneral_regs.h29 uint64_t rax; member
A Dvmx_state.h67 uint64_t rax; member
108 static_assert(__offsetof(VmxState, guest_state.rax) == GS_RAX, "");
A Dbootstrap16.h71 uint64_t rdi, rsi, rbp, rbx, rdx, rcx, rax; member
/kernel/lib/crashlog/
A Dcrashlog.cpp159 crashlog.iframe->rax, in crashlog_to_string()

Completed in 39 milliseconds