Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix trapa value for _syscall6() to conform with new sh syscall ABI. | Paul Mundt | 2005-05-07 | 1 | -1/+1 |
| | | | | | | | | The old sh system call interface used 0x00 - 0x0f for the trapa value (number of arguments), whereas the new ABI uses the 0x10 - 0x1f range. For some reason we were using an off-by-1 trapa immediate which ended up trashing r1 in the _syscall6() case, so we fix it up.. | ||||
* | Add a syscall() implementation using a hacked version of the syscall6 macro. | Manuel Novoa III | 2003-12-02 | 1 | -0/+25 |
Untested, but syscall() is needed by busybox for pivot_root at least. |