Lines Matching +full:linear +full:- +full:mapping +full:- +full:mode
2 * arch-x86/xen.h
24 * Copyright (c) 2004-2006, K A Fraser
64 #include "xen-x86_32.h"
72 #include "xen-x86_64.h"
95 * start of the GDT because some stupid OSes export hard-coded selector values
96 * in their ABI. These hard-coded values are always near the start of the GDT,
116 /* Maximum number of virtual CPUs in legacy multi-processor guests. */
153 #define TI_GET_DPL(_ti) ((_ti)->flags & 3)
154 #define TI_GET_IF(_ti) ((_ti)->flags & 4)
155 #define TI_SET_DPL(_ti,_dpl) ((_ti)->flags |= (_dpl))
156 #define TI_SET_IF(_ti,_if) ((_ti)->flags |= ((!!(_if))<<2))
159 uint8_t flags; /* 0-3: privilege level; 4: clear event enable? */
176 * Note: VCPUOP_initialise for HVM guests is non-symetric with
181 struct { char x[512]; } fpu_ctxt; /* User-level FPU registers */
195 struct cpu_user_regs user_regs; /* User-level CPU registers */
197 unsigned long ldt_base, ldt_ents; /* LDT (linear address, # ents) */
201 unsigned long ctrlreg[8]; /* CR0-CR7 (control registers) */
202 unsigned long debugreg[8]; /* DB0-DB7 (debug registers) */
243 * been set to invalid e.g. due to the p2m being too large for the 3-level
244 * p2m tree. In this case the linear mapper p2m list anchored at p2m_vaddr
256 * p2m_vaddr holds the virtual address of the linear p2m list. All entries
260 * a value with the least significant bit set indicates that a mapping
264 * Modifying a p2m element in the linear p2m list is allowed via an atomic
269 unsigned long p2m_generation; /* generation count of p2m mapping */
365 * For other values of reg, returns ((unsigned long)-EINVAL).
370 * Prefix forces emulation of some non-trapping instructions.
392 * mode: C
393 * c-file-style: "BSD"
394 * c-basic-offset: 4
395 * tab-width: 4
396 * indent-tabs-mode: nil