Home
last modified time | relevance | path

Searched refs:seg_desc (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dtask_switch.c132 static struct seg_desc
135 struct seg_desc seg_desc; in usd_to_seg_desc() local
137 seg_desc.base = (u_int)USD_GETBASE(usd); in usd_to_seg_desc()
139 seg_desc.limit = (u_int)(USD_GETLIMIT(usd) << 12) | 0xfff; in usd_to_seg_desc()
141 seg_desc.limit = (u_int)USD_GETLIMIT(usd); in usd_to_seg_desc()
142 seg_desc.access = usd->sd_type | usd->sd_dpl << 5 | usd->sd_p << 7; in usd_to_seg_desc()
143 seg_desc.access |= usd->sd_xx << 12; in usd_to_seg_desc()
144 seg_desc.access |= usd->sd_def32 << 14; in usd_to_seg_desc()
145 seg_desc.access |= usd->sd_gran << 15; in usd_to_seg_desc()
147 return (seg_desc); in usd_to_seg_desc()
[all …]
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c502 fru_segdesc_t seg_desc; in create_segment() local
507 (void) memset(&seg_desc, 0, sizeof (seg_desc)); in create_segment()
508 seg_desc.field.field_perm = 0x6; in create_segment()
509 seg_desc.field.operations_perm = 0x6; in create_segment()
510 seg_desc.field.engineering_perm = 0x6; in create_segment()
511 seg_desc.field.repair_perm = 0x6; in create_segment()
515 def.desc.raw_data = seg_desc.raw_data; in create_segment()
/illumos-gate/usr/src/uts/intel/io/vmm/sys/
H A Dvmm_kernel.h57 struct seg_desc;
89 struct seg_desc *desc);
91 const struct seg_desc *desc);
187 struct seg_desc *ret_desc);
189 const struct seg_desc *desc);
/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dvmmapi.h189 int vm_get_seg_desc(struct vcpu *vcpu, int reg, struct seg_desc *seg_desc);
H A Dvmmapi.c841 vm_get_seg_desc(struct vcpu *vcpu, int reg, struct seg_desc *seg_desc) in vm_get_seg_desc() argument
845 error = vm_get_desc(vcpu, reg, &seg_desc->base, &seg_desc->limit, in vm_get_seg_desc()
846 &seg_desc->access); in vm_get_seg_desc()
/illumos-gate/usr/src/uts/intel/sys/
H A Dvmm.h183 struct seg_desc { struct
H A Dvmm_dev.h94 struct seg_desc desc;
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_instruction_emul.c475 struct seg_desc *desc, uint64_t offset, int length, int addrsize,
1095 struct seg_desc desc; in vie_get_gla()
1982 struct seg_desc ss_desc; in vie_emulate_stack_op()
2726 struct seg_desc cs_desc; in vie_cs_info()
2818 struct seg_desc *desc, uint64_t offset, int length, int addrsize, in vie_calculate_gla()
3851 struct seg_desc desc; in vie_verify_gla()
H A Dvmm.c1260 vm_get_seg_desc(struct vm *vm, int vcpu, int reg, struct seg_desc *desc) in vm_get_seg_desc()
1273 vm_set_seg_desc(struct vm *vm, int vcpu, int reg, const struct seg_desc *desc) in vm_set_seg_desc()
3031 struct seg_desc desc; in vcpu_arch_reset()
3153 struct seg_desc desc; in vcpu_vector_sipi()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c78 typedef struct seg_desc { struct
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmx.c304 static int vmx_getdesc(void *arg, int vcpu, int reg, struct seg_desc *desc);
3227 vmx_getdesc(void *arg, int vcpu, int seg, struct seg_desc *desc) in vmx_getdesc()
3250 vmx_setdesc(void *arg, int vcpu, int seg, const struct seg_desc *desc) in vmx_setdesc()
/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Dsvm.c2287 svm_setdesc(void *arg, int vcpu, int reg, const struct seg_desc *desc) in svm_setdesc()
2348 svm_getdesc(void *arg, int vcpu, int reg, struct seg_desc *desc) in svm_getdesc()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c89 typedef struct seg_desc { struct
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c137 typedef struct seg_desc { struct