Home
last modified time | relevance | path

Searched refs:v86 (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/boot/i386/common/
H A Ddrv.c35 v86.ctl = V86_FLAGS; in drvsize()
36 v86.addr = 0x13; in drvsize()
37 v86.eax = 0x4800; in drvsize()
38 v86.edx = dskp->drive; in drvsize()
42 if (V86_CY(v86.efl)) { in drvsize()
63 v86.ctl = V86_FLAGS; in drvread()
64 v86.addr = 0x13; in drvread()
65 v86.eax = 0x4200; in drvread()
87 v86.ctl = V86_FLAGS; in drvwrite()
88 v86.addr = 0x13; in drvwrite()
[all …]
H A Dcons.c37 v86.ctl = V86_FLAGS; in putc()
38 v86.addr = 0x10; in putc()
40 v86.ebx = 0x7; in putc()
57 v86.ctl = V86_FLAGS; in getcursor()
58 v86.addr = 0x10; in getcursor()
59 v86.eax = 0x300; in getcursor()
60 v86.ebx = 0x7; in getcursor()
94 v86.addr = 0x16; in getc()
95 v86.eax = fn << 8; in getc()
99 return (v86.eax); in getc()
[all …]
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiospci.c232 v86.edi = 0x0; in biospci_detect()
236 if (V86_CY(v86.efl) || ((v86.eax & 0xff00) != 0) || in biospci_detect()
342 v86.ecx = class; in biospci_find_devclass()
347 if (V86_CY(v86.efl) || (v86.eax & 0xff00)) in biospci_find_devclass()
366 if (V86_CY(v86.efl) || (v86.eax & 0xff00)) in biospci_find_device()
384 v86.ecx = val; in biospci_write_config()
388 if (V86_CY(v86.efl) || (v86.eax & 0xff00)) in biospci_write_config()
405 if (V86_CY(v86.efl) || (v86.eax & 0xff00)) in biospci_read_config()
408 *val = v86.ecx; in biospci_read_config()
434 v86.esi = i; in biospci_count_device_type()
[all …]
H A Dbiosmem.c99 v86.ebx = 0; in bios_getmem()
101 v86.ctl = V86_FLAGS; in bios_getmem()
103 v86.eax = 0xe820; in bios_getmem()
105 v86.edx = SMAP_SIG; in bios_getmem()
109 if ((V86_CY(v86.efl)) || (v86.eax != SMAP_SIG)) in bios_getmem()
151 } while (v86.ebx != 0); in bios_getmem()
155 v86.ctl = 0; in bios_getmem()
168 v86.ctl = V86_FLAGS; in bios_getmem()
170 v86.eax = 0xe801; in bios_getmem()
200 v86.ctl = 0; in bios_getmem()
[all …]
H A Dvbe.c80 v86.addr = 0x10; in bios_set_text_mode()
105 v86.addr = 0x10; in biosvbe_info()
118 v86.addr = 0x10; in biosvbe_get_mode_info()
120 v86.ecx = mode; in biosvbe_get_mode_info()
146 v86.addr = 0x10; in biosvbe_set_mode()
169 v86.addr = 0x10; in biosvbe_get_mode()
196 v86.ebx = mode; in biosvbe_palette_data()
197 v86.edx = reg; in biosvbe_palette_data()
198 v86.ecx = 1; in biosvbe_palette_data()
219 v86.es = 0; in biosvbe_ddc_caps()
[all …]
H A Dbiosdisk.c286 v86.edx = drive; in fd_count()
384 v86.ctl = V86_FLAGS; in bd_get_diskinfo_cd()
478 v86.edx = unit; in bd_check_extensions()
500 v86.edx = unit; in bd_reset_disk()
510 bzero(&v86, sizeof (v86)); in bd_get_diskinfo_std()
517 if (V86_CY(v86.efl) && ((v86.eax & 0xff00) != 0)) in bd_get_diskinfo_std()
524 bd->bd_cyl = ((v86.ecx & 0xc0) << 2) + ((v86.ecx & 0xff00) >> 8) + 1; in bd_get_diskinfo_std()
563 if (V86_CY(v86.efl) && ((v86.eax & 0xff00) != 0)) in bd_get_diskinfo_ext()
632 if (V86_CY(v86.efl) || (v86.eax & 0x300) == 0) in bd_int13probe()
1288 return (((v86.ecx & 0xc0) << 18) | ((v86.ecx & 0xff00) << 8) | in bd_getbigeom()
[all …]
H A Dtime.c47 v86.ctl = 0; in bios_seconds()
48 v86.addr = 0x1a; /* int 0x1a, function 2 */ in bios_seconds()
49 v86.eax = 0x0200; in bios_seconds()
52 hr = bcd2bin((v86.ecx & 0xff00) >> 8); /* hour in %ch */ in bios_seconds()
53 minute = bcd2bin(v86.ecx & 0xff); /* minute in %cl */ in bios_seconds()
54 sec = bcd2bin((v86.edx & 0xff00) >> 8); /* second in %dh */ in bios_seconds()
111 v86.ctl = 0; in delay()
112 v86.addr = 0x15; /* int 0x15, function 0x86 */ in delay()
113 v86.eax = 0x8600; in delay()
114 v86.ecx = period >> 16; in delay()
[all …]
H A Dbiossmap.c67 v86.ebx = 0; in bios_getsmap()
69 v86.ctl = V86_FLAGS; in bios_getsmap()
70 v86.addr = 0x15; in bios_getsmap()
72 v86.ecx = SMAP_BUFSIZE; in bios_getsmap()
73 v86.edx = SMAP_SIG; in bios_getsmap()
74 v86.es = VTOPSEG(&buf); in bios_getsmap()
75 v86.edi = VTOPOFF(&buf); in bios_getsmap()
77 if (V86_CY(v86.efl) || v86.eax != SMAP_SIG || in bios_getsmap()
78 v86.ecx < sizeof(buf.smap) || v86.ecx > SMAP_BUFSIZE) in bios_getsmap()
85 if (v86.ecx == SMAP_BUFSIZE) { in bios_getsmap()
[all …]
H A Dpxe.c319 bzero(&v86, sizeof (v86)); in pxenv_call()
324 v86.ctl = V86_ADDR | V86_CALLF | V86_FLAGS; in pxenv_call()
325 v86.es = VTOPSEG(ptr); in pxenv_call()
326 v86.edi = VTOPOFF(ptr); in pxenv_call()
328 v86.ebx = func; in pxenv_call()
330 v86.ctl = V86_FLAGS; in pxenv_call()
341 bzero(&v86, sizeof (v86)); in bangpxe_call()
347 v86.edx = VTOPSEG(ptr); in bangpxe_call()
348 v86.eax = VTOPOFF(ptr); in bangpxe_call()
350 v86.ebx = func; in bangpxe_call()
[all …]
H A Dvidconsole.c898 v86.ctl = 0; in vidc_biosputchar()
899 v86.addr = 0x10; in vidc_biosputchar()
901 v86.ebx = 0x7; in vidc_biosputchar()
931 v86.ctl = 0; in vidc_getchar()
932 v86.addr = 0x16; in vidc_getchar()
933 v86.eax = 0x0; in vidc_getchar()
936 return (v86.eax & 0xff); in vidc_getchar()
976 v86.ctl = V86_FLAGS; in vidc_ischar()
977 v86.addr = 0x16; in vidc_ischar()
978 v86.eax = 0x100; in vidc_ischar()
[all …]
H A Dbiospnp.c288 v86.ctl = V86_ADDR | V86_CALLF; in biospnp_call()
289 v86.addr = ((uint32_t)pnp_Icheck->pnp_rmcs << 16) + pnp_Icheck->pnp_rmip; in biospnp_call()
293 return (v86.eax & 0xffff); in biospnp_call()
/illumos-gate/usr/src/boot/i386/isoboot/
H A Disoboot.c136 v86.ebx = 0; in bios_getmem()
138 v86.ctl = V86_FLAGS; in bios_getmem()
140 v86.eax = 0xe820; in bios_getmem()
142 v86.edx = SMAP_SIG; in bios_getmem()
146 if ((v86.efl & 1) || (v86.eax != SMAP_SIG)) in bios_getmem()
182 v86.ctl = 0; in bios_getmem()
194 v86.ctl = V86_FLAGS; in bios_getmem()
196 v86.eax = 0xe801; in bios_getmem()
204 v86.ctl = 0; in bios_getmem()
206 v86.eax = 0x8800; in bios_getmem()
[all …]
/illumos-gate/usr/src/boot/i386/loader/
H A Dmain.c98 bzero(&v86, sizeof (v86)); in main()
99 v86.efl = PSL_RESERVED_DEFAULT | PSL_I; in main()
/illumos-gate/usr/src/boot/i386/btx/lib/
H A Dbtxv86.h54 #define v86 __v86 macro