Lines Matching refs:desc
323 uint8_t *desc = (uint8_t*) d;
326 if ((desc[7] & 0x14) == 0x04) { /* gate */
332 offset = *((uint32_t*)(desc));
333 selector = *((uint32_t*)(desc+4));
334 wordcount = desc[6] >> 4;
335 acc = desc[7];
337 *((uint16_t*)desc) = offset & 0xFFFF;
338 *((uint16_t*)(desc+2)) = selector;
339 desc[4] = wordcount;
340 desc[5] = acc;
341 *((uint16_t*)(desc+6)) = offset >> 16;
348 base = *((uint32_t*)(desc));
349 limit = *((uint16_t*)(desc+4));
350 acc2 = desc[6];
351 acc1 = desc[7];
353 *((uint16_t*)(desc)) = limit;
354 *((uint16_t*)(desc+2)) = base & 0xFFFF;
355 desc[4] = (base >> 16) & 0xFF;
356 desc[5] = acc1;
357 desc[6] = acc2;
358 desc[7] = base >> 24;
360 desc += 8;
370 struct real_descriptor64 desc;
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);