Lines Matching refs:desc
167 uint64_t desc = *ptr; in get_codeseg32() local
174 base = ((desc >> GDT_BASE_LOW_SHIFT) & GDT_BASE_LOW_MASK) | in get_codeseg32()
175 ((desc >> GDT_BASE_HIGH_SHIFT) & GDT_BASE_HIGH_MASK) in get_codeseg32()
177 limit = ((desc >> GDT_LIMIT_LOW_SHIFT) & GDT_LIMIT_LOW_MASK) | in get_codeseg32()
178 ((desc >> GDT_LIMIT_HIGH_SHIFT) & GDT_LIMIT_HIGH_MASK) in get_codeseg32()
182 if ((desc & GDT_PRESENT) && (desc & GDT_NOTSYS) && in get_codeseg32()
183 !(desc & GDT_LONG) && (desc & GDT_4KB) && in get_codeseg32()
184 (desc & GDT_32BIT) && (desc & GDT_CODE) && in get_codeseg32()
276 struct efi_mem_desc *desc; in efi_main() local
310 desc = efi_malloc(priv, size, &ret); in efi_main()
311 if (!desc) { in efi_main()
332 ret = boot->get_memory_map(&size, desc, &key, &desc_size, &version); in efi_main()
352 size = sizeof(desc); in efi_main()
353 ret = boot->get_memory_map(&size, desc, &key, &desc_size, in efi_main()
373 add_entry_addr(priv, EFIET_MEMORY_MAP, &map, sizeof(map), desc, size); in efi_main()