Lines Matching refs:entry
60 descriptor_table_entry_t entry; in InitCpu() local
61 memset(&entry, 0, sizeof(entry)); in InitCpu()
62 entry.limit0 = (limit & 0x0ffff); in InitCpu()
63 entry.limit = (limit & 0xf0000) >> 16; in InitCpu()
64 entry.base0 = (base & 0x0000ffff); in InitCpu()
65 entry.base1 = (base & 0x00ff0000) >> 16; in InitCpu()
66 entry.base2 = (base & 0xff000000) >> 24; in InitCpu()
67 entry.type = ((read_exec_only ^ 1) << 1) | (contents << 2); in InitCpu()
68 entry.s = 1; in InitCpu()
69 entry.dpl = 0x3; in InitCpu()
70 entry.p = seg_not_present ^ 1; in InitCpu()
71 entry.avl = useable; in InitCpu()
72 entry.l = 0; in InitCpu()
73 entry.d = seg_32bit; in InitCpu()
74 entry.g = limit_in_pages; in InitCpu()
76 entry_number = i386_set_ldt(LDT_AUTO_ALLOC, reinterpret_cast<ldt_entry*>(&entry), 1); in InitCpu()