Home
last modified time | relevance | path

Searched refs:ireg (Results 1 – 25 of 27) sorted by relevance

12

/external/syslinux/core/
Drawcon.c23 com32sys_t ireg, oreg; in writechr() local
27 memset(&ireg, 0, sizeof ireg); in writechr()
28 ireg.ebx.b[1] = *(uint8_t *)BIOS_page; in writechr()
29 ireg.eax.b[1] = 0x03; /* Read cursor position */ in writechr()
30 __intcall(0x10, &ireg, &oreg); in writechr()
31 ireg.edx.l = oreg.edx.l; in writechr()
35 if (ireg.edx.b[0]--) { in writechr()
40 ireg.edx.b[0] = VidCols; in writechr()
41 if (ireg.edx.b[1]--) { in writechr()
46 ireg.edx.b[1] = 0; in writechr()
[all …]
Dgraphics.c67 com32sys_t ireg, oreg; in vgasetmode() local
72 memset(&ireg, 0, sizeof(ireg)); in vgasetmode()
81 ireg.eax.w[0] = 0x4F02; in vgasetmode()
82 ireg.ebx.w[0] = 0x0012; in vgasetmode()
83 __intcall(0x10, &ireg, &oreg); in vgasetmode()
86 ireg.eax.w[0] = 0x1A00; in vgasetmode()
87 __intcall(0x10, &ireg, &oreg); in vgasetmode()
97 memset(&ireg, 0, sizeof(ireg)); in vgasetmode()
98 ireg.eax.w[0] = 0x0012; /* Set mode = 640x480 VGA 16 colors */ in vgasetmode()
99 __intcall(0x10, &ireg, &oreg); in vgasetmode()
[all …]
Dbios.c41 com32sys_t ireg, oreg; in bios_get_cursor() local
43 memset(&ireg, 0, sizeof(ireg)); in bios_get_cursor()
45 ireg.eax.b[1] = 0x03; in bios_get_cursor()
46 ireg.ebx.b[1] = BIOS_PAGE; in bios_get_cursor()
47 __intcall(0x10, &ireg, &oreg); in bios_get_cursor()
55 static com32sys_t ireg; in bios_erase() local
56 memset(&ireg, 0, sizeof(ireg)); in bios_erase()
58 ireg.eax.w[0] = 0x0600; /* Clear window */ in bios_erase()
59 ireg.ebx.b[1] = attribute; in bios_erase()
60 ireg.ecx.b[0] = x0; in bios_erase()
[all …]
Dfont.c94 com32sys_t ireg, oreg; in use_font() local
101 memset(&ireg, 0, sizeof(ireg)); in use_font()
103 ireg.es = SEG(fontbuf); in use_font()
104 ireg.ebp.w[0] = OFFS(fontbuf); /* ES:BP -> font */ in use_font()
116 ireg.eax.w[0] = 0x1121; in use_font()
117 ireg.ebx.b[0] = 0; in use_font()
118 ireg.ecx.b[0] = bytes; /* bytes/character */ in use_font()
119 ireg.edx.b[0] = rows; in use_font()
121 __intcall(0x10, &ireg, &oreg); in use_font()
129 ireg.eax.w[0] = 0x1110; /* Load into VGA RAM */ in use_font()
[all …]
Dlocalboot.c39 com32sys_t ireg, oreg; in local_boot() local
42 memset(&ireg, 0, sizeof(ireg)); in local_boot()
61 memset(&ireg, 0, sizeof ireg); in local_boot()
62 ireg.edx.b[0] = ax & 0xff; in local_boot()
63 ireg.eax.w[0] = 0; /* Reset drive */ in local_boot()
64 __intcall(0x13, &ireg, NULL); in local_boot()
66 memset(&ireg, 0, sizeof(ireg)); in local_boot()
67 ireg.eax.w[0] = 0x0201; /* Read one sector */ in local_boot()
68 ireg.ecx.w[0] = 0x0001; /* C/H/S = 0/0/1 (first sector) */ in local_boot()
69 ireg.ebx.w[0] = OFFS(trackbuf); in local_boot()
[all …]
Dplaincon.c15 com32sys_t ireg, oreg; in writechr() local
17 memset(&ireg, 0, sizeof ireg); in writechr()
27 ireg.eax.b[0] = data; in writechr()
28 ireg.eax.b[1] = 0xE; in writechr()
29 ireg.ebx.b[0] = 0x07; /* attribute */ in writechr()
30 ireg.ebx.b[1] = *(uint8_t *)BIOS_page; /* current page */ in writechr()
31 __intcall(0x10, &ireg, &oreg); in writechr()
Dconio.c153 com32sys_t ireg, oreg; in bios_pollchar() local
156 memset(&ireg, 0, sizeof(ireg)); in bios_pollchar()
158 ireg.eax.b[1] = 0x11; /* Poll keyboard */ in bios_pollchar()
159 __intcall(0x16, &ireg, &oreg); in bios_pollchar()
206 com32sys_t ireg, oreg; in bios_getchar() local
209 memset(&ireg, 0, sizeof(ireg)); in bios_getchar()
214 ireg.eax.b[1] = 0x11; /* Poll keyboard */ in bios_getchar()
215 __intcall(0x16, &ireg, &oreg); in bios_getchar()
249 ireg.eax.b[1] = 0x10; /* Get keyboard input */ in bios_getchar()
250 __intcall(0x16, &ireg, &oreg); in bios_getchar()
Dpxeboot.c26 com32sys_t ireg; in local_boot() local
27 memset(&ireg, 0, sizeof ireg); in local_boot()
39 ireg.eax.w[0] = ax; in local_boot()
40 call16(local_boot16, &ireg, NULL); in local_boot()
Dcall16.c41 __export void call16(void (*func)(void), const com32sys_t *ireg, in call16() argument
44 com32sys_t xreg = *ireg; in call16()
/external/syslinux/com32/sysdump/
Dmemmap.c20 com32sys_t ireg, oreg; in dump_e820() local
29 memset(&ireg, 0, sizeof ireg); in dump_e820()
32 ireg.eax.l = 0xe820; in dump_e820()
33 ireg.edx.l = 0x534d4150; in dump_e820()
34 ireg.ecx.l = sizeof curr->data; in dump_e820()
35 ireg.es = SEG(curr->data); in dump_e820()
36 ireg.edi.w[0] = OFFS(curr->data); in dump_e820()
39 __intcall(0x15, &ireg, &oreg); in dump_e820()
51 buf[nentry].ebx = ireg.ebx.l; in dump_e820()
55 ireg.ebx.l = oreg.ebx.l; in dump_e820()
[all …]
/external/syslinux/com32/modules/
Dmeminfo.c42 com32sys_t ireg, oreg; in dump_e820() local
51 memset(&ireg, 0, sizeof ireg); in dump_e820()
53 ireg.eax.w[0] = 0xe820; in dump_e820()
54 ireg.edx.l = 0x534d4150; in dump_e820()
55 ireg.ecx.l = sizeof(struct e820_data); in dump_e820()
56 ireg.edi.w[0] = OFFS(low_ed); in dump_e820()
57 ireg.es = SEG(low_ed); in dump_e820()
65 __intcall(0x15, &ireg, &oreg); in dump_e820()
75 ireg.ebx.l, ed.base, ed.len, ed.base + ed.len, ed.type, in dump_e820()
80 ireg.ebx.l, ed.base, ed.len, ed.base + ed.len, ed.type); in dump_e820()
[all …]
/external/syslinux/core/fs/
Ddiskio_bios.c55 com32sys_t ireg, oreg; in chs_rdwr_sectors() local
64 memset(&ireg, 0, sizeof ireg); in chs_rdwr_sectors()
66 ireg.eax.b[1] = 0x02 + is_write; in chs_rdwr_sectors()
67 ireg.edx.b[0] = disk->disk_number; in chs_rdwr_sectors()
100 ireg.eax.b[0] = chunk; in chs_rdwr_sectors()
101 ireg.ecx.b[1] = c; in chs_rdwr_sectors()
102 ireg.ecx.b[0] = ((c & 0x300) >> 2) | (s+1); in chs_rdwr_sectors()
103 ireg.edx.b[1] = h; in chs_rdwr_sectors()
104 ireg.ebx.w[0] = OFFS(tptr); in chs_rdwr_sectors()
105 ireg.es = SEG(tptr); in chs_rdwr_sectors()
[all …]
/external/syslinux/com32/mboot/
Dapm.c36 com32sys_t ireg, oreg; in mboot_apm() local
38 memset(&ireg, 0, sizeof ireg); in mboot_apm()
40 ireg.eax.w[0] = 0x5300; in mboot_apm()
41 __intcall(0x15, &ireg, &oreg); in mboot_apm()
53 memset(&ireg, 0, sizeof ireg); in mboot_apm()
54 ireg.eax.b[0] = 0x04; in mboot_apm()
55 __intcall(0x15, &ireg, &oreg); in mboot_apm()
58 ireg.eax.b[0] = 0x03; in mboot_apm()
59 __intcall(0x15, &ireg, &oreg); in mboot_apm()
72 memset(&ireg, 0, sizeof ireg); in mboot_apm()
[all …]
Dmem.c51 com32sys_t ireg, oreg; in mboot_scan_memory() local
82 memset(&ireg, 0, sizeof ireg); in mboot_scan_memory()
83 ireg.eax.l = 0xe820; in mboot_scan_memory()
84 ireg.edx.l = 0x534d4150; in mboot_scan_memory()
86 ireg.ecx.l = sizeof(*e820buf); in mboot_scan_memory()
87 ireg.es = SEG(e820buf); in mboot_scan_memory()
88 ireg.edi.w[0] = OFFS(e820buf); in mboot_scan_memory()
92 __intcall(0x15, &ireg, &oreg); in mboot_scan_memory()
113 ireg.ebx.l = oreg.ebx.l; in mboot_scan_memory()
127 memset(&ireg, 0, sizeof ireg); in mboot_scan_memory()
[all …]
/external/syslinux/com32/gpllib/
Dmemory.c92 com32sys_t ireg, oreg; in detect_memory_e820() local
93 memset(&ireg, 0, sizeof ireg); in detect_memory_e820()
99 ireg.eax.w[0] = 0xe820; in detect_memory_e820()
100 ireg.edx.l = SMAP; in detect_memory_e820()
101 ireg.ecx.l = sizeof(struct e820_ext_entry); in detect_memory_e820()
102 ireg.edi.w[0] = OFFS(bounce); in detect_memory_e820()
103 ireg.es = SEG(bounce); in detect_memory_e820()
119 __intcall(0x15, &ireg, &oreg); in detect_memory_e820()
148 ireg.ebx.l = oreg.ebx.l; in detect_memory_e820()
149 } while (ireg.ebx.l && count < size_map); in detect_memory_e820()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/sh/
Dffi.c119 int greg, ireg; in ffi_prep_args() local
131 ireg = STRUCT_VALUE_ADDRESS_WITH_ARG ? 1 : 0; in ffi_prep_args()
134 ireg = 0; in ffi_prep_args()
137 greg = ireg; in ffi_prep_args()
224 greg = ireg; in ffi_prep_args()
521 int ireg, greg = 0; in ffi_closure_helper_SYSV() local
535 ireg = 1; in ffi_closure_helper_SYSV()
538 ireg = 0; in ffi_closure_helper_SYSV()
541 greg = ireg; in ffi_closure_helper_SYSV()
625 greg = ireg; in ffi_closure_helper_SYSV()
/external/syslinux/com32/lib/sys/
Dintcall.c7 void __intcall(uint8_t vector, const com32sys_t * ireg, com32sys_t * oreg) in __intcall() argument
9 __com32.cs_intcall(vector, ireg, oreg); in __intcall()
Dfarcall.c24 const com32sys_t * ireg, com32sys_t * oreg) in __farcall() argument
26 com32sys_t xreg = *ireg; in __farcall()
/external/syslinux/com32/elflink/ldlinux/
Dexecute.c53 com32sys_t ireg; in execute() local
56 memset(&ireg, 0, sizeof ireg); in execute()
/external/syslinux/com32/lib/pci/
Dcfgtype.c55 static const com32sys_t ireg = { in pci_set_config_type() local
66 __intcall(0x1a, &ireg, &oreg); in pci_set_config_type()
/external/v8/src/x64/
Dassembler-x64.h1822 Register ireg = {3}; in blsiq() local
1823 bmi1q(0xf3, ireg, dst, src); in blsiq()
1826 Register ireg = {3}; in blsiq() local
1827 bmi1q(0xf3, ireg, dst, src); in blsiq()
1830 Register ireg = {3}; in blsil() local
1831 bmi1l(0xf3, ireg, dst, src); in blsil()
1834 Register ireg = {3}; in blsil() local
1835 bmi1l(0xf3, ireg, dst, src); in blsil()
1838 Register ireg = {2}; in blsmskq() local
1839 bmi1q(0xf3, ireg, dst, src); in blsmskq()
[all …]
Dassembler-x64-inl.h245 XMMRegister ireg = {reg.code()}; in emit_vex_prefix() local
248 emit_vex_prefix(ireg, ivreg, irm, l, pp, mm, w); in emit_vex_prefix()
269 XMMRegister ireg = {reg.code()}; in emit_vex_prefix() local
271 emit_vex_prefix(ireg, ivreg, rm, l, pp, mm, w); in emit_vex_prefix()
/external/v8/src/ia32/
Dassembler-ia32.h1328 Register ireg = {3}; in blsi() local
1329 bmi1(0xf3, ireg, dst, src); in blsi()
1333 Register ireg = {2}; in blsmsk() local
1334 bmi1(0xf3, ireg, dst, src); in blsmsk()
1338 Register ireg = {1}; in blsr() local
1339 bmi1(0xf3, ireg, dst, src); in blsr()
Dassembler-ia32.cc2869 Register ireg = { reg.code() }; in emit_sse_operand() local
2870 emit_operand(ireg, adr); in emit_sse_operand()
2975 Register ireg = { sel }; in emit_arith() local
2978 emit_operand(ireg, dst); in emit_arith()
2985 emit_operand(ireg, dst); in emit_arith()
/external/v8/src/x87/
Dassembler-x87.cc2114 Register ireg = { sel }; in emit_arith() local
2117 emit_operand(ireg, dst); in emit_arith()
2124 emit_operand(ireg, dst); in emit_arith()

12