Changeset bc1f1c2 in mainline for uspace/lib/libc/arch/ia32/src/fibril.S
- Timestamp:
- 2007-06-28T00:54:12Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12f91130
- Parents:
- b9641ee
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/ia32/src/fibril.S
rb9641ee rbc1f1c2 40 40 context_save: 41 41 movl 0(%esp),%eax # the caller's return %eip 42 movl 4(%esp),%edx # address of the kernel_context variable to save context to42 movl 4(%esp),%edx # address of the context variable to save context to 43 43 44 44 movl %esp,0(%edx) # %esp -> ctx->sp … … 64 64 # 65 65 context_restore: 66 movl 4(%esp),%eax # address of the kernel_context variable to restore context from66 movl 4(%esp),%eax # address of the context variable to restore context from 67 67 movl 0(%eax),%esp # ctx->sp -> %esp 68 68 movl 4(%eax),%edx # ctx->pc -> %edx
Note:
See TracChangeset
for help on using the changeset viewer.