Rev 9725 | Rev 9766 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9725 | Rev 9764 | ||
---|---|---|---|
Line 1065... | Line 1065... | ||
1065 | void _ksys_debug_putc(char c){ |
1065 | void _ksys_debug_putc(char c){ |
1066 | asm_inline("int $0x40"::"a"(63), "b"(1), "c"(c)); |
1066 | asm_inline("int $0x40"::"a"(63), "b"(1), "c"(c)); |
1067 | } |
1067 | } |
Line 1068... | Line 1068... | ||
1068 | 1068 | ||
1069 | static inline |
1069 | static inline |
1070 | void _ksys_debug_puts(char *s){ |
1070 | void _ksys_debug_puts(const char* s){ |
1071 | unsigned i=0; |
1071 | unsigned i=0; |
1072 | while (*(s+i)){ |
1072 | while (*(s+i)){ |
1073 | asm_inline ("int $0x40"::"a"(63), "b"(1), "c"(*(s+i))); |
1073 | asm_inline ("int $0x40"::"a"(63), "b"(1), "c"(*(s+i))); |
1074 | i++; |
1074 | i++; |