Lines Matching +full:0 +full:x67
57 sys.stdout.write(os.path.basename(sys.argv[0]) + ": " + text + "\n")
62 sys.exit(os.path.basename(sys.argv[0]) + ": " + text)
81 return struct.pack(GDT_PD_FMT, size, addr, 0)
86 base_lo = base & 0xFFFF
87 base_mid = (base >> 16) & 0xFF
88 base_hi = (base >> 24) & 0xFF
90 limit_lo = limit & 0xFFFF
91 limit_hi = (limit >> 16) & 0xF
113 # 1 = code or data, 0 = system type
136 type_code = 0x9 # non-busy 32-bit TSS descriptor
137 gran = 0
207 # Selector 0x08: code descriptor
208 output_fp.write(create_code_data_entry(0, 0xFFFFF, 0,
211 # Selector 0x10: data descriptor
212 output_fp.write(create_code_data_entry(0, 0xFFFFF, 0,
219 # Selector 0x18: main TSS
220 output_fp.write(create_tss_entry(main_tss, 0x67, 0))
222 # Selector 0x20: double-fault TSS
223 output_fp.write(create_tss_entry(df_tss, 0x67, 0))
226 # Selector 0x28: code descriptor, dpl = 3
227 output_fp.write(create_code_data_entry(0, 0xFFFFF, 3,
230 # Selector 0x30: data descriptor, dpl = 3
231 output_fp.write(create_code_data_entry(0, 0xFFFFF, 3,
235 # Selector 0x18, 0x28 or 0x38 (depending on entries above):
240 output_fp.write(create_code_data_entry(0, 0xFFFFF, 3,