Lines Matching refs:fakep
367 struct fake_descriptor64 *fakep;
374 fakep = (struct fake_descriptor64 *) descp;
376 for (i = 0; i < count; i++, fakep++) {
383 switch (fakep->access & ACC_TYPE) {
389 real.gate.offset_low16 = (uint16_t)(fakep->offset64 & 0xFFFF);
390 real.gate.selector16 = fakep->lim_or_seg & 0xFFFF;
391 real.gate.IST = fakep->size_or_IST & 0x7;
392 real.gate.access8 = fakep->access;
393 real.gate.offset_high16 = (uint16_t)((fakep->offset64>>16) & 0xFFFF);
394 real.gate.offset_top32 = (uint32_t)(fakep->offset64>>32);
397 real.desc.limit_low16 = fakep->lim_or_seg & 0xFFFF;
398 real.desc.base_low16 = (uint16_t)(fakep->offset64 & 0xFFFF);
399 real.desc.base_med8 = (uint8_t)((fakep->offset64 >> 16) & 0xFF);
400 real.desc.access8 = fakep->access;
401 real.desc.limit_high4 = (fakep->lim_or_seg >> 16) & 0xFF;
402 real.desc.granularity4 = fakep->size_or_IST;
403 real.desc.base_high8 = (uint8_t)((fakep->offset64 >> 24) & 0xFF);
404 real.desc.base_top32 = (uint32_t)(fakep->offset64>>32);
410 bcopy((void *) &real, (void *) fakep, sizeof(real));