mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 04:14:34 +00:00
x86: Add defines for ins/outs functions
Add defines for {in,out}s{b,w,l}() functions to make sure that they will be used by asm-generic/io.h Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
This commit is contained in:
parent
4f7a3463c4
commit
93e1552cb1
1 changed files with 6 additions and 0 deletions
|
@ -202,10 +202,16 @@ __OUT(l,,int)
|
||||||
__INS(b)
|
__INS(b)
|
||||||
__INS(w)
|
__INS(w)
|
||||||
__INS(l)
|
__INS(l)
|
||||||
|
#define insb insb
|
||||||
|
#define insw insw
|
||||||
|
#define insl insl
|
||||||
|
|
||||||
__OUTS(b)
|
__OUTS(b)
|
||||||
__OUTS(w)
|
__OUTS(w)
|
||||||
__OUTS(l)
|
__OUTS(l)
|
||||||
|
#define outsb outsb
|
||||||
|
#define outsw outsw
|
||||||
|
#define outsl outsl
|
||||||
|
|
||||||
/* IO space accessors */
|
/* IO space accessors */
|
||||||
#define clrio(type, addr, clear) \
|
#define clrio(type, addr, clear) \
|
||||||
|
|
Loading…
Add table
Reference in a new issue