| /kernel/arch/x86/ |
| A D | ops.S | 28 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 D | mexec.S | 38 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 D | user_copy.S | 32 leaq .Lfault_copy(%rip), %rax 33 movq %rax, (%r10) 46 mov $ZX_OK, %rax 57 mov $ZX_ERR_INVALID_ARGS, %rax
|
| A D | image.S | 94 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 D | asm.S | 44 xor %rax, %rax 62 xor %rax, %rax 88 lea _idt_startup(%rip), %rax 90 movq %rax, -16+2(%rsp)
|
| A D | start.S | 144 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 D | exceptions.S | 117 push_reg %rax 141 pop_reg %rax 180 leaq .Lexit(%rip), %rax 186 movq %rax, 0x10(%rsp) // RIP (return address)
|
| A D | acpi.S | 44 leaq .Lafter_sleep(%rip), %rax 45 movq %rax, 128(%rdi)
|
| A D | syscall.S | 304 cmp $ZX_SYS_COUNT, %rax 307 jmp *(%r11, %rax, 8) 378 push_value %rax 383 pop_value %rax
|
| A D | start16.S | 185 lea bp_percpu(%rip), %rax 186 mov %rax, %rdx 202 mov 48(%rdi), %rax
|
| A D | rules.mk | 146 KERNEL_COMPILEFLAGS += -mskip-rax-setup
|
| A D | debugger.cpp | 32 static_assert(SYSCALL_OFFSETS_EQUAL(rax), ""); 68 COPY_REG(out, in, rax); \
|
| A D | faults.cpp | 49 frame->rax, frame->rbx, frame->rcx, frame->rdx); in dump_fault_frame()
|
| /kernel/lib/libc/string/arch/x86/ |
| A D | memset.S | 22 mov %r11, %rax 34 movzx %sil, %rax 48 mov %r11, %rax
|
| A D | memcpy.S | 16 mov %rdi, %rax 27 mov %rdi, %rax
|
| /kernel/arch/x86/hypervisor/ |
| A D | vmexit.cpp | 252 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 D | vmx.S | 38 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 D | vcpu.cpp | 821 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 D | asm_macros.h | 56 .cfi_same_value %rax ; \ 75 .cfi_undefined %rax ; \
|
| A D | x86.h | 29 uint64_t rdi, rsi, rbp, rbx, rdx, rcx, rax; // pushed by common handler member
|
| /kernel/arch/x86/include/arch/x86/ |
| A D | general_regs.h | 29 uint64_t rax; member
|
| A D | vmx_state.h | 67 uint64_t rax; member 108 static_assert(__offsetof(VmxState, guest_state.rax) == GS_RAX, "");
|
| A D | bootstrap16.h | 71 uint64_t rdi, rsi, rbp, rbx, rdx, rcx, rax; member
|
| /kernel/lib/crashlog/ |
| A D | crashlog.cpp | 159 crashlog.iframe->rax, in crashlog_to_string()
|