Home
last modified time | relevance | path

Searched refs:bx (Results 1 – 25 of 70) sorted by relevance

123

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dapm.S36 xorw %bx, %bx
42 cmpw $0x504d, %bx
53 xorw %bx, %bx
89 xorw %bx, %bx
97 cmpw $0x504d, %bx
114 xorw %bx, %bx
H A Dasm.S274 pushw %bx
322 popw %bx
398 xorw %bx, %bx
405 xorw %bx, %bx
410 xorw %bx, %bx
416 xorw %bx, %bx
462 xorw %bx, %bx
1168 xorw %bx, %bx
1361 xorw %bx, %bx
1623 xorw %bx, %bx
[all …]
H A Dstart_eltorito.S104 mov $(STAGE_ADDR >> 4), %bx
105 mov %bx, %es
106 xor %bx, %bx
138 mov %bx, 4(%si)
139 mov %es, %bx
140 mov %bx, 6(%si)
223 mov $0x0001, %bx
259 mov $0x0001, %bx
H A Dstart.S160 movw $BUFFERSEG, %bx
249 movw $BUFFERSEG, %bx
250 movw %bx, %es /* load %es segment with disk buffer */
252 xorw %bx, %bx /* %bx = 0, put it at 0 in the segment */
259 movw %es, %bx
285 movw %bx, %ds /* restore the source segment */
366 movw $0x0001, %bx
H A Dpxeloader.S34 1: popw %bx
38 movw %ax, %cs:(pxeseg-1b)(%bx)
40 movw %ax, %cs:(pxeoff-1b)(%bx)
41 movw %ax, %bx
/illumos-gate/usr/src/ucblib/libcurses/
H A Dnewwin.c42 int i, by, bx, nl, nc; in newwin() local
46 bx = begx; in newwin()
53 nc = COLS - bx; in newwin()
54 if ((win = makenew(nl, nc, by, bx)) == NULL) in newwin()
96 int by, bx, nl, nc; in subwin() local
99 bx = begx; in subwin()
111 bx + nc > orig->_maxx + orig->_begx) in subwin()
116 nc = orig->_maxx + orig->_begx - bx; in subwin()
156 int by, bx, nl, nc; in makenew() local
159 bx = begx; in makenew()
[all …]
H A Dmvwin.c29 mvwin(WINDOW *win, int by, int bx) in mvwin() argument
34 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
37 dx = bx - win->_begx; in mvwin()
50 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx) in mvwin()
53 win->_begx = (short)bx; in mvwin()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvwin.c51 mvwin(w, by, bx) in mvwin() argument
53 int by, bx;
59 __m_trace("mvwin(%p, %d, %d)", w, by, bx);
63 if (by < 0 || bx < 0)
68 if (lines < by + w->_maxy || columns < bx + w->_maxx)
73 || parent->_begx + parent->_maxx < bx + w->_maxx)
80 dx = bx - parent->_begx;
87 w->_begx = bx;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dderwin.c55 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) in derwin() argument
65 if (by < 0 || (by + num_lines) > orig->_maxy || bx < 0 || in derwin()
66 (bx + nc) > orig->_maxx) in derwin()
69 nc = orig->_maxx - bx; in derwin()
75 bx + orig->_begx)) == NULL) in derwin()
80 win->_parx = (short) bx; in derwin()
96 w_y16[y] = o_y16[hby] + bx; in derwin()
101 w_y[y] = o_y[by] + bx; in derwin()
H A Dmvwin.c48 mvwin(WINDOW *win, int by, int bx) in mvwin() argument
50 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
51 by < 0 || bx < 0) in mvwin()
56 win->_begx = (short) bx; in mvwin()
H A Dnewwin.c49 newwin(int nlines, int ncols, int by, int bx) in newwin() argument
57 ncols = COLS - bx; in newwin()
59 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by, in newwin()
60 bx)) == (WINDOW *) NULL) || (_image(win) == ERR)) { in newwin()
H A D_subpad.c47 subpad(WINDOW *win, int l, int nc, int by, int bx) in subpad() argument
49 return (derwin(win, l, nc, by, bx)); in subpad()
H A Dsubwin.c46 subwin(WINDOW *win, int l, int nc, int by, int bx) in subwin() argument
48 return (derwin(win, l, nc, by - win->_begy, bx - win->_begx)); in subwin()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpci_io.c148 unsigned long bx = (bus << 8) | device_fn; in pcibios_read_config_byte() local
164 "b" (bx), in pcibios_read_config_byte()
175 unsigned long bx = (bus << 8) | device_fn; in pcibios_read_config_word() local
191 "b" (bx), in pcibios_read_config_word()
218 "b" (bx), in pcibios_read_config_dword()
229 unsigned long bx = (bus << 8) | device_fn; in pcibios_write_config_byte() local
245 "b" (bx), in pcibios_write_config_byte()
256 unsigned long bx = (bus << 8) | device_fn; in pcibios_write_config_word() local
272 "b" (bx), in pcibios_write_config_word()
283 unsigned long bx = (bus << 8) | device_fn; in pcibios_write_config_dword() local
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvwin.c54 mvwin(WINDOW *w, int by, int bx) in mvwin() argument
60 if (by < 0 || bx < 0) in mvwin()
65 if (lines < by + w->_maxy || columns < bx + w->_maxx) in mvwin()
70 parent->_begx + parent->_maxx < bx + w->_maxx) in mvwin()
78 dx = bx - parent->_begx; in mvwin()
85 w->_begx = (short) bx; in mvwin()
/illumos-gate/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S162 movw $0x55aa, %bx
174 cmpw $0xaa55, %bx
227 movw $STAGE1_BUFFERSEG, %bx
338 movw $STAGE1_BUFFERSEG, %bx
339 movw %bx, %es /* load %es segment with disk buffer */
341 xorw %bx, %bx /* %bx = 0, put it at 0 in the segment */
347 movw %es, %bx
360 movw %bx, %ds
421 movw $0x0001, %bx
481 movw $STAGE1_BUFFERSEG, %bx
/illumos-gate/usr/src/boot/i386/gptzfsboot/
H A Dgptldr.S78 mov $end,%bx # BTX
79 mov 0xa(%bx),%si # Get BTX length and set
80 add %bx,%si # %si to start of boot2
90 mov $COPY_BLKS,%bx # Copy COPY_BLKS 32k blocks
103 dec %bx
107 mov $end,%bx # BTX
108 mov 0xa(%bx),%cx # Get BTX length and set
109 mov %bx,%si # %si to end of BTX
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_regset.c109 ulong_t bit, bx; in dt_regset_alloc() local
112 for (bit = 1, bx = 0; bx <= maxb; bx++, bit <<= 1) { in dt_regset_alloc()
114 reg = (int)((wx << BT_ULSHIFT) | bx); in dt_regset_alloc()
/illumos-gate/usr/src/uts/common/os/
H A Dbitmap.c71 index_t bx; /* bit index in word */ in bt_availbit() local
79 for (bx = 0; bx <= maxbit; bx++, bit <<= 1) { in bt_availbit()
81 return (wx << BT_ULSHIFT | bx); in bt_availbit()
/illumos-gate/usr/src/boot/i386/pmbr/
H A Dpmbr.s102 movw $0x55aa, %bx
106 cmpw $0xaa55, %bx # chs support is not
109 movw $LOAD/16,%bx # set buffer segment
110 movw %bx,%es
111 xorw %bx,%bx # and offset
117 boot: mov %bx,%es # Reset %es to zero
126 # Load a sector (64-bit LBA at %si) from disk %dl into %es:%bx by creating
132 pushw %bx # the transfer buffer
152 putstr.0: movw $0x7,%bx # Page:attribute
/illumos-gate/usr/src/uts/i86pc/ml/
H A Dsyscall_asm_amd64.S482 movw %ds, %bx
484 movw %es, %bx
486 movw %fs, %bx
488 movw %gs, %bx
782 movw %ds, %bx
784 movw %es, %bx
786 movw %fs, %bx
788 movw %gs, %bx
1054 movw %ds, %bx
1056 movw %es, %bx
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A Dtst.random.s25 rdrand %bx
27 rdseed %bx
H A Dtst.random.out1 libdis_test: 66 0f c7 f3 rdrand %bx
3 libdis_test+0x7: 66 0f c7 fb rdseed %bx
H A D64.lzcnt.s25 lzcntw %ax, %bx
26 lzcntw (%rax), %bx
H A D64.popcnt.s25 popcntw %ax, %bx
26 popcntw (%rax), %bx

123