. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git] / lib / i86 / misc / io_outsl.s
blob6e49ffc247872ab49c6a9e9928f7de9524b6b8c6
1 ! outsl() - Output a dword array Author: Kees J. Bot
2 ! 18 Mar 1996
3 ! void outsl(U16_t port, void *buf, size_t count);
5 o32 = 0x66
7 .sect .text
8 .define _outsl
9 _outsl:
10 push bp
11 mov bp, sp
12 cld
13 push si
14 mov dx, 4(bp) ! port
15 mov si, 6(bp) ! buf
16 mov cx, 8(bp) ! byte count
17 shr cx, #2 ! dword count
18 .data1 o32
19 rep outs ! output many dwords
20 pop si
21 pop bp
22 ret