Lines Matching +full:num +full:- +full:cs
2 * xen-x86_64.h
4 * Guest OS interface to x86 64-bit Xen.
24 * Copyright (c) 2004-2006, K A Fraser
32 * Input: %rdi, %rsi, %rdx, %r10, %r8, %r9 (arguments 1-6)
35 * call hypercall_page + hypercall-number * 32
36 * Clobbered: argument registers (e.g., 2-arg hypercall clobbers %rdi,%rsi)
40 * 64-bit segment selectors
41 * These flat segments are in the Xen-private section of every GDT. Since these
85 #define MACH2PHYS_NR_ENTRIES ((MACH2PHYS_VIRT_END-MACH2PHYS_VIRT_START)>>3)
92 * @which == SEGBASE_* ; @base == 64-bit base address
104 * The saved CS is mapped as follows:
105 * RING0 -> RING3 kernel mode.
106 * RING1 -> RING3 kernel mode.
107 * RING2 -> RING3 kernel mode.
108 * RING3 -> RING3 user mode.
115 * Discard R11, RCX, CS, SS.
117 * Restore RAX, R11, RCX, CS:RIP, RFLAGS, SS:RSP.
129 uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss; member
155 #define __DECL_REG_HI(num) union { \ argument
156 uint64_t r ## num; \
157 uint32_t r ## num ## d; \
158 uint16_t r ## num ## w; \
159 uint8_t r ## num ## b; \
162 /* Anonymous union includes both 32- and 64-bit names (e.g., eax/rax). */
168 /* Non-gcc sources must always use the proper 64-bit name (e.g., rax). */
176 #define __DECL_REG_HI(num) uint64_t r ## num argument
198 uint16_t cs, _pad0[1]; member
236 * c-file-style: "BSD"
237 * c-basic-offset: 4
238 * tab-width: 4
239 * indent-tabs-mode: nil