Changeset 3bc42bd in mainline for uspace/lib/c/arch/sparc32/src/fibril.S
- Timestamp:
- 2013-11-26T18:49:32Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a218709
- Parents:
- a7372ccf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc32/src/fibril.S
ra7372ccf r3bc42bd 31 31 .text 32 32 33 .global flush_windows 33 34 .global context_save 34 35 .global context_restore … … 39 40 # should a thread switch occur. 40 41 # 42 mov 7, %g1 43 1: subcc %g1, 1, %g1 44 bg 1b 45 save %sp, -64, %sp 46 47 mov 7, %g1 48 1: subcc %g1, 1, %g1 49 bg 1b 50 restore 51 41 52 CONTEXT_SAVE_ARCH_CORE %o0 42 53 retl … … 52 63 # XXX 53 64 # flushw 65 # ta 0x4f 66 # nop 67 mov 7, %g1 68 1: subcc %g1, 1, %g1 69 bg 1b 70 save %sp, -64, %sp 71 72 mov 7, %g1 73 1: subcc %g1, 1, %g1 74 bg 1b 75 restore 54 76 55 77 CONTEXT_RESTORE_ARCH_CORE %o0
Note:
See TracChangeset
for help on using the changeset viewer.