Changeset b539f54 in mainline
- Timestamp:
- 2010-07-12T16:33:06Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8078180
- Parents:
- efbd094
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/asm.S
refbd094 rb539f54 389 389 * Save the selector registers. 390 390 */ 391 movl %gs, %eax 392 movl %fs, %ebx 391 movl %gs, %ecx 392 movl %fs, %edx 393 394 movl %ecx, ISTATE_OFFSET_GS(%esp) 395 movl %edx, ISTATE_OFFSET_FS(%esp) 396 393 397 movl %es, %ecx 394 398 movl %ds, %edx 395 399 396 movl %eax, ISTATE_OFFSET_GS(%esp)397 movl %ebx, ISTATE_OFFSET_FS(%esp)398 400 movl %ecx, ISTATE_OFFSET_ES(%esp) 399 401 movl %edx, ISTATE_OFFSET_DS(%esp) … … 434 436 * Restore the selector registers. 435 437 */ 436 movl ISTATE_OFFSET_GS(%esp), %eax 437 movl ISTATE_OFFSET_FS(%esp), %ebx 438 movl ISTATE_OFFSET_GS(%esp), %ecx 439 movl ISTATE_OFFSET_FS(%esp), %edx 440 441 movl %ecx, %gs 442 movl %edx, %fs 443 438 444 movl ISTATE_OFFSET_ES(%esp), %ecx 439 445 movl ISTATE_OFFSET_DS(%esp), %edx 440 446 441 movl %eax, %gs442 movl %ebx, %fs443 447 movl %ecx, %es 444 448 movl %edx, %ds … … 447 451 * Restore the scratch registers and the preserved 448 452 * registers the handler cloberred itself 449 * (i.e. EB X and EBP).453 * (i.e. EBP). 450 454 */ 451 455 movl ISTATE_OFFSET_EAX(%esp), %eax 452 movl ISTATE_OFFSET_EBX(%esp), %ebx453 456 movl ISTATE_OFFSET_ECX(%esp), %ecx 454 457 movl ISTATE_OFFSET_EDX(%esp), %edx
Note:
See TracChangeset
for help on using the changeset viewer.