Home
last modified time | relevance | path

Searched refs:qseg (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/i386/hvf/
H A Dx86hvf.c36 SegmentCache *qseg, bool is_tr) in hvf_set_segment() argument
38 vmx_seg->sel = qseg->selector; in hvf_set_segment()
39 vmx_seg->base = qseg->base; in hvf_set_segment()
40 vmx_seg->limit = qseg->limit; in hvf_set_segment()
42 if (!qseg->selector && !x86_is_real(cs) && !is_tr) { in hvf_set_segment()
48 vmx_seg->ar = (qseg->flags >> DESC_TYPE_SHIFT) & 0xf; in hvf_set_segment()
53 vmx_seg->ar |= ((qseg->flags >> DESC_P_SHIFT) & 1) << 7; in hvf_set_segment()
55 vmx_seg->ar |= ((qseg->flags >> DESC_S_SHIFT) & 1) << 4; in hvf_set_segment()
60 qseg->limit = vmx_seg->limit; in hvf_get_segment()
61 qseg->base = vmx_seg->base; in hvf_get_segment()
[all …]
H A Dx86hvf.h26 SegmentCache *qseg, bool is_tr);
27 void hvf_get_segment(SegmentCache *qseg, struct vmx_segment *vmx_seg);
/openbmc/qemu/target/i386/nvmm/
H A Dnvmm-all.c62 nvmm_set_segment(struct nvmm_x64_state_seg *nseg, const SegmentCache *qseg) in nvmm_set_segment() argument
64 uint32_t attrib = qseg->flags; in nvmm_set_segment()
66 nseg->selector = qseg->selector; in nvmm_set_segment()
67 nseg->limit = qseg->limit; in nvmm_set_segment()
68 nseg->base = qseg->base; in nvmm_set_segment()
199 nvmm_get_segment(SegmentCache *qseg, const struct nvmm_x64_state_seg *nseg) in nvmm_get_segment() argument
201 qseg->selector = nseg->selector; in nvmm_get_segment()
202 qseg->limit = nseg->limit; in nvmm_get_segment()
203 qseg->base = nseg->base; in nvmm_get_segment()
205 qseg->flags = in nvmm_get_segment()