diff options
Diffstat (limited to 'arch/i386/boot/tty.c')
-rw-r--r-- | arch/i386/boot/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/boot/tty.c b/arch/i386/boot/tty.c index a8db787..9c668aa 100644 --- a/arch/i386/boot/tty.c +++ b/arch/i386/boot/tty.c @@ -31,7 +31,7 @@ void __attribute__((section(".inittext"))) putchar(int ch) /* int $0x10 is known to have bugs involving touching registers it shouldn't. Be extra conservative... */ - asm volatile("pushal; int $0x10; popal" + asm volatile("pushal; pushw %%ds; int $0x10; popw %%ds; popal" : : "b" (0x0007), "c" (0x0001), "a" (0x0e00|ch)); } |