Graph (branch: tcc_current): now you can provide a filename, when calling a program from shell, which should be opened on start.

tcc: ksys.h: added "const" to string argument of _ksys_debug_puts(...).

git-svn-id: svn://kolibrios.org@9764 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
vitalkrilov
2022-04-13 00:31:51 +00:00
parent 2e97f212ae
commit dff8056cd6
2 changed files with 52 additions and 6 deletions

View File

@@ -1067,7 +1067,7 @@ void _ksys_debug_putc(char c){
}
static inline
void _ksys_debug_puts(char *s){
void _ksys_debug_puts(const char* s){
unsigned i=0;
while (*(s+i)){
asm_inline ("int $0x40"::"a"(63), "b"(1), "c"(*(s+i)));