Skip to content

Commit

Permalink
asm: use com_ports[] from putc macro
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
  • Loading branch information
wipawel committed Oct 28, 2020
1 parent 01fad33 commit 812b6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/arch/x86/asm-macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

/* clang-format off */
.macro putc val
movw $0x3f8, %dx;
movw (com_ports), %dx;
movb $\val, %al;
outb %al, %dx;
.endm
Expand Down

0 comments on commit 812b6d1

Please sign in to comment.