Fix some typos, correctly jump into UTS.

This commit is contained in:
David Xu 2003-07-31 08:50:01 +00:00
parent 64e64426d7
commit 3807b4840c
2 changed files with 4 additions and 4 deletions

View File

@ -34,8 +34,8 @@ __FBSDID("$FreeBSD$");
*/
ENTRY(_amd64_enter_uts)
addq %rcx, %rdx /* get stack base */
andq -15, %rdx /* align to 16 bytes */
andq $-15, %rdx /* align to 16 bytes */
movq %rdx, %rsp /* switch to UTS stack */
movq %rdx, %rbp /* set frame */
jmp *(%rsi) /* jump to UTS entry point */
pushq %rsi
ret

View File

@ -34,8 +34,8 @@ __FBSDID("$FreeBSD$");
*/
ENTRY(_amd64_enter_uts)
addq %rcx, %rdx /* get stack base */
andq -15, %rdx /* align to 16 bytes */
andq $-15, %rdx /* align to 16 bytes */
movq %rdx, %rsp /* switch to UTS stack */
movq %rdx, %rbp /* set frame */
jmp *(%rsi) /* jump to UTS entry point */
pushq %rsi
ret