os/libc/dbg.c

7 lines
106 B
C
Raw Normal View History

2019-08-25 13:52:56 -05:00
void serial_print(char* str) {
asm volatile(" \
mov $16, %%eax; \
int $80; \
"::"b"(str));
}