Re: [9fans] spim syscall stack adjustment

2023-01-27 Thread adventures in9
I could try and build a spim world without the ADD in syscall to see what happens. It might be a week or 2 before I can find the time. As for why it does it. I never really looked into it. I figured it was just another endian issue. I had enough bugs that when I got past that one I just moved

[9fans] spim syscall stack adjustment

2023-01-26 Thread Anthony Martin
Does anyone know why the libc system call functions for spim add four to the stack pointer (R29) before issuing the SYSCALL instruction? /sys/src/libc/9syscall/mkfile:/spim It was introduced in the third edition but there were never any spim kernels released so I wasn't able to compare th