diff options
author | rsc <rsc> | 2006-09-06 17:27:19 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-09-06 17:27:19 +0000 |
commit | 9e9bcaf143bf8507e947f9934371744c3d50a8ea (patch) | |
tree | b63a03929569f34ade9a940ef1416586346b8d30 /setjmp.S | |
parent | 03b6376f56074cd1dcbb1b35639e303c3a8a0181 (diff) | |
download | xv6-labs-9e9bcaf143bf8507e947f9934371744c3d50a8ea.tar.gz xv6-labs-9e9bcaf143bf8507e947f9934371744c3d50a8ea.tar.bz2 xv6-labs-9e9bcaf143bf8507e947f9934371744c3d50a8ea.zip |
standardize various * conventions
Diffstat (limited to 'setjmp.S')
-rw-r--r-- | setjmp.S | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ .globl setjmp setjmp: movl 4(%esp), %eax - + movl %ebx, 0(%eax) movl %ecx, 4(%eax) movl %edx, 8(%eax) @@ -11,14 +11,14 @@ setjmp: movl %ebp, 24(%eax) pushl 0(%esp) /* %eip */ popl 28(%eax) - + movl $0, %eax /* return value */ ret .globl longjmp longjmp: movl 4(%esp), %eax - + movl 0(%eax), %ebx movl 4(%eax), %ecx movl 8(%eax), %edx @@ -29,7 +29,7 @@ longjmp: addl $4, %esp /* pop %eip into thin air */ pushl 28(%eax) /* push new %eip */ - + movl $1, %eax /* return value (appears to come from setjmp!) */ ret |