• Home
  • Raw
  • Download

Lines Matching refs:gate

183 		struct kvm_segment gate;  in setup_32bit_idt()  local
184 gate.selector = i << 3; in setup_32bit_idt()
188 gate.type = 6; in setup_32bit_idt()
189 gate.base = SEL_CS16; in setup_32bit_idt()
193 gate.type = 7; in setup_32bit_idt()
194 gate.base = SEL_CS16; in setup_32bit_idt()
198 gate.type = 3; in setup_32bit_idt()
199 gate.base = SEL_TGATE16; in setup_32bit_idt()
203 gate.type = 14; in setup_32bit_idt()
204 gate.base = SEL_CS32; in setup_32bit_idt()
208 gate.type = 15; in setup_32bit_idt()
209 gate.base = SEL_CS32; in setup_32bit_idt()
213 gate.type = 11; in setup_32bit_idt()
214 gate.base = SEL_TGATE32; in setup_32bit_idt()
217 gate.limit = guest_mem + ADDR_VAR_USER_CODE2; // entry offset in setup_32bit_idt()
218 gate.present = 1; in setup_32bit_idt()
219 gate.dpl = 0; in setup_32bit_idt()
220 gate.s = 0; in setup_32bit_idt()
221 gate.g = 0; in setup_32bit_idt()
222 gate.db = 0; in setup_32bit_idt()
223 gate.l = 0; in setup_32bit_idt()
224 gate.avl = 0; in setup_32bit_idt()
225 fill_segment_descriptor(idt, idt, &gate); in setup_32bit_idt()
236 struct kvm_segment gate; in setup_64bit_idt() local
237 gate.selector = (i * 2) << 3; in setup_64bit_idt()
238 gate.type = (i & 1) ? 14 : 15; // interrupt or trap gate in setup_64bit_idt()
239 gate.base = SEL_CS64; in setup_64bit_idt()
240 gate.limit = guest_mem + ADDR_VAR_USER_CODE2; // entry offset in setup_64bit_idt()
241 gate.present = 1; in setup_64bit_idt()
242 gate.dpl = 0; in setup_64bit_idt()
243 gate.s = 0; in setup_64bit_idt()
244 gate.g = 0; in setup_64bit_idt()
245 gate.db = 0; in setup_64bit_idt()
246 gate.l = 0; in setup_64bit_idt()
247 gate.avl = 0; in setup_64bit_idt()
248 fill_segment_descriptor_dword(idt, idt, &gate); in setup_64bit_idt()