Commit b1d56a42 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: update comment, we now zero extend all 6 arguments in the 32bit syscall...

ppc64: update comment, we now zero extend all 6 arguments in the 32bit syscall path, from Milton Miller
parent 5c427819
...@@ -106,9 +106,8 @@ _GLOBAL(DoSyscall) ...@@ -106,9 +106,8 @@ _GLOBAL(DoSyscall)
beq- 15f beq- 15f
ld r10,.SYS_CALL_TABLE32@toc(2) ld r10,.SYS_CALL_TABLE32@toc(2)
/* /*
* Now mung the first 4 parameters into shape, by making certain that * We now zero extend all six arguments (r3 - r8), the compatibility
* the high bits (most significant 32 bits in 64 bit reg) are 0 * layer assumes this.
* for the first 4 parameter regs(3-6).
*/ */
clrldi r3,r3,32 clrldi r3,r3,32
clrldi r4,r4,32 clrldi r4,r4,32
...@@ -178,9 +177,8 @@ _GLOBAL(ret_from_syscall_1) ...@@ -178,9 +177,8 @@ _GLOBAL(ret_from_syscall_1)
beq- 55f beq- 55f
ld r10,.SYS_CALL_TABLE32@toc(2) ld r10,.SYS_CALL_TABLE32@toc(2)
/* /*
* Now mung the first 4 parameters into shape, by making certain that * We now zero extend all six arguments (r3 - r8), the compatibility
* the high bits (most significant 32 bits in 64 bit reg) are 0 * layer assumes this.
* for the first 4 parameter regs(3-6).
*/ */
clrldi r3,r3,32 clrldi r3,r3,32
clrldi r4,r4,32 clrldi r4,r4,32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment