Lines Matching refs:fakep
192 struct fake_descriptor64 *fakep;
199 fakep = (struct fake_descriptor64 *) descp;
201 for (i = 0; i < count; i++, fakep++) {
208 switch (fakep->access & ACC_TYPE) {
214 real.gate.offset_low16 = fakep->offset[0] & 0xFFFF;
215 real.gate.selector16 = fakep->lim_or_seg & 0xFFFF;
216 real.gate.IST = fakep->size_or_IST & 0x7;
217 real.gate.access8 = fakep->access;
218 real.gate.offset_high16 = (fakep->offset[0]>>16)&0xFFFF;
219 real.gate.offset_top32 = (uint32_t)fakep->offset[1];
222 real.desc.limit_low16 = fakep->lim_or_seg & 0xFFFF;
223 real.desc.base_low16 = fakep->offset[0] & 0xFFFF;
224 real.desc.base_med8 = (fakep->offset[0] >> 16) & 0xFF;
225 real.desc.access8 = fakep->access;
226 real.desc.limit_high4 = (fakep->lim_or_seg >> 16) & 0xFF;
227 real.desc.granularity4 = fakep->size_or_IST;
228 real.desc.base_high8 = (fakep->offset[0] >> 24) & 0xFF;
229 real.desc.base_top32 = (uint32_t) fakep->offset[1];
235 bcopy((void *) &real, (void *) fakep, sizeof(real));