Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/psm/stand/bootblks/ufs/i386/
H A Dmboot.S176 mov bx, RELOC_ADDR + FDISK_START
180 cmp byte ptr [bx], ACTIVE
182 add bx, FD_PTESIZE
194 push bx /* save partition pointer */
198 mov bx, 0x55AA /* signature to change */
202 cmp bx, 0xAA55
222 pop bx /* restore partition pointer */
223 push bx /* and save again */
227 push dword ptr [bx+8] /* relsect (lo 32 of 64-bit number) */
248 pop bx /* restore partition pointer */
[all …]
/titanic_50/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.S234 movw %dx,%bx /* into %es:%bx */
236 movw %es:8(%bx),%ax /* Transfer contents of undi_call_info_t */
238 movw %es:6(%bx),%ax
240 movw %es:4(%bx),%ax
243 lcall *%es:0(%bx) /* Do the UNDI call */
274 pushw %bx
277 1: popw %bx /* various locations. */
278 pushw %bx /* save for after UNDI call */
281 movw $1,%cs:(pxenv_undi_isr-1b+2)(%bx)
293 lcall *%cs:(pxenv_entrypointsp-1b)(%bx) /* Do the UNDI call */
[all …]
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 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 Dpxeloader.S34 1: popw %bx
38 movw %ax, %cs:(pxeseg-1b)(%bx)
40 movw %ax, %cs:(pxeoff-1b)(%bx)
41 movw %ax, %bx
/titanic_50/usr/src/ucblib/libcurses/
H A Dnewwin.c44 int i, by, bx, nl, nc; in newwin() local
48 bx = begx; in newwin()
55 nc = COLS - bx; in newwin()
56 if ((win = makenew(nl, nc, by, bx)) == NULL) in newwin()
98 int by, bx, nl, nc; in subwin() local
101 bx = begx; in subwin()
109 fprintf(outf, "SUBWIN(%0.2o, %d, %d, %d, %d)\n", orig, nl, nc, by, bx); in subwin()
111 if (by < orig->_begy || bx < orig->_begx || in subwin()
113 bx + nc > orig->_maxx + orig->_begx) in subwin()
118 nc = orig->_maxx + orig->_begx - bx; in subwin()
[all …]
H A Dmvwin.c31 mvwin(WINDOW *win, int by, int bx) in mvwin() argument
36 if (by + win->_maxy > LINES || bx + win->_maxx > COLS) in mvwin()
39 dx = bx - win->_begx; in mvwin()
52 if (bx < orig->_begx || win->_maxx + dx > orig->_maxx) in mvwin()
55 win->_begx = (short)bx; in mvwin()
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvwin.c53 mvwin(w, by, bx) in mvwin() argument
55 int by, bx;
61 __m_trace("mvwin(%p, %d, %d)", w, by, bx);
65 if (by < 0 || bx < 0)
70 if (lines < by + w->_maxy || columns < bx + w->_maxx)
75 || parent->_begx + parent->_maxx < bx + w->_maxx)
82 dx = bx - parent->_begx;
89 w->_begx = bx;
H A Dgetwin.c81 int by, bx, my, mx; local
88 if (fscanf(fp, "MAX=%d,%d BEG=%d,%d ", &my, &mx, &by, &bx) < 4)
94 if ((w = newwin(my, mx, by, bx)) == (WINDOW *) 0)
/titanic_50/usr/src/lib/libcurses/screen/
H A Dderwin.c57 derwin(WINDOW *orig, int num_lines, int nc, int by, int bx) in derwin() argument
67 if (by < 0 || (by + num_lines) > orig->_maxy || bx < 0 || in derwin()
68 (bx + nc) > orig->_maxx) in derwin()
71 nc = orig->_maxx - bx; in derwin()
77 bx + orig->_begx)) == NULL) in derwin()
82 win->_parx = (short) bx; in derwin()
98 w_y16[y] = o_y16[hby] + bx; in derwin()
103 w_y[y] = o_y[by] + bx; in derwin()
H A Dmvwin.c50 mvwin(WINDOW *win, int by, int bx) in mvwin() argument
52 if ((by + win->_maxy) > LINES || (bx + win->_maxx) > COLS || in mvwin()
53 by < 0 || bx < 0) in mvwin()
58 win->_begx = (short) bx; in mvwin()
H A Dnewwin.c51 newwin(int nlines, int ncols, int by, int bx) in newwin() argument
59 ncols = COLS - bx; in newwin()
61 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by, in newwin()
62 bx)) == (WINDOW *) NULL) || (_image(win) == ERR)) { in newwin()
H A D_subpad.c49 subpad(WINDOW *win, int l, int nc, int by, int bx) in subpad() argument
51 return (derwin(win, l, nc, by, bx)); in subpad()
H A Dsubwin.c48 subwin(WINDOW *win, int l, int nc, int by, int bx) in subwin() argument
50 return (derwin(win, l, nc, by - win->_begy, bx - win->_begx)); in subwin()
/titanic_50/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()
202 unsigned long bx = (bus << 8) | device_fn; in pcibios_read_config_dword() local
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()
[all …]
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvwin.c56 mvwin(WINDOW *w, int by, int bx) in mvwin() argument
62 if (by < 0 || bx < 0) in mvwin()
67 if (lines < by + w->_maxy || columns < bx + w->_maxx) in mvwin()
72 parent->_begx + parent->_maxx < bx + w->_maxx) in mvwin()
80 dx = bx - parent->_begx; in mvwin()
87 w->_begx = (short) bx; in mvwin()
H A Dgetwin.c83 int by, bx, my, mx; in getwin() local
86 if (fscanf(fp, "MAX=%d,%d BEG=%d,%d ", &my, &mx, &by, &bx) < 4) in getwin()
92 if ((w = newwin(my, mx, by, bx)) == NULL) in getwin()
/titanic_50/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
/titanic_50/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()
/titanic_50/usr/src/uts/common/os/
H A Dbitmap.c72 index_t bx; /* bit index in word */ in bt_availbit() local
80 for (bx = 0; bx <= maxbit; bx++, bit <<= 1) { in bt_availbit()
82 return (wx << BT_ULSHIFT | bx); in bt_availbit()
H A Derrorq.c478 ulong_t bit, maxbit, bx; in errorq_availbit() local
494 for (bx = 0, bit = 1; bx <= maxbit; bx++, bit <<= 1) in errorq_availbit()
495 if (bx >= nextbitindex && !(bitmap[nextword] & bit)) in errorq_availbit()
496 return ((nextword << BT_ULSHIFT) + bx); in errorq_availbit()
/titanic_50/usr/src/uts/i86pc/ml/
H A Dsyscall_asm_amd64.s483 movw %ds, %bx
485 movw %es, %bx
487 movw %fs, %bx
489 movw %gs, %bx
596 SIMPLE_SYSCALL_POSTSYS(%r15, %r14, %bx)
765 movw %ds, %bx
767 movw %es, %bx
769 movw %fs, %bx
771 movw %gs, %bx
869 SIMPLE_SYSCALL_POSTSYS(%r15, %r14, %bx)
[all …]
H A Dsyscall_asm.s146 movw %bx, %gs /* switch to the kernel's %gs */ ;\
158 movw %bx, %gs /* restore the user %gs */ ;\
161 movw %bx, %gs /* branch due to no callback) */ ;\
/titanic_50/usr/src/uts/i86pc/os/
H A Dbiosdisk.c135 rp.ebx.word.bx = 0x55AA; in bios_check_extension_present()
141 if (((rp.eflags & PS_C) != 0) || (rp.ebx.word.bx != 0xAA55)) { in bios_check_extension_present()
143 "failed %d bx = %x\n", rp.eflags, rp.ebx.word.bx)); in bios_check_extension_present()
269 rp.ebx.word.bx = (uint16_t)FP_OFF((uint_t)(uintptr_t)bufp); in read_firstblock()

12