fix: erreur d'opcode dans la fonction OUTW
This commit is contained in:
parent
4e19d4db4b
commit
9724a2a923
|
@ -8,7 +8,7 @@
|
||||||
asm volatile ("outb %%al,%%dx"::"d" (port), "a" (value));
|
asm volatile ("outb %%al,%%dx"::"d" (port), "a" (value));
|
||||||
|
|
||||||
#define outw(port,value) \
|
#define outw(port,value) \
|
||||||
asm volatile ("outb %%ax,%%dx"::"d" (port), "a" (value));
|
asm volatile ("outw %%ax,%%dx"::"d" (port), "a" (value));
|
||||||
|
|
||||||
#define inb(port) ({ \
|
#define inb(port) ({ \
|
||||||
u8 _v; \
|
u8 _v; \
|
||||||
|
|
Loading…
Reference in New Issue