Changeset cfa70add in mainline for kernel/arch/sparc64/src/asm.S
- Timestamp:
- 2006-09-03T23:37:14Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fd85ae5
- Parents:
- 002e613
- File:
-
- 1 edited
-
kernel/arch/sparc64/src/asm.S (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/asm.S
r002e613 rcfa70add 151 151 * %o0 Userspace entry address. 152 152 * %o1 Userspace stack pointer address. 153 * %o2 Userspace address of uarg structure. 153 154 */ 154 155 .global switch_to_userspace … … 157 158 wrpr %g0, 0, %cleanwin ! avoid information leak 158 159 save %o1, -STACK_WINDOW_SAVE_AREA_SIZE, %sp 160 161 mov %i3, %o0 ! uarg 159 162 160 163 clr %i2 … … 179 182 stxa %g1, [VA_PRIMARY_CONTEXT_REG] %asi 180 183 flush %i7 184 185 /* 186 * Spills and fills will be handled by the userspace handlers. 187 */ 188 wrpr %g0, WSTATE_OTHER(0) | WSTATE_NORMAL(1), %wstate 181 189 182 190 done ! jump to userspace
Note:
See TracChangeset
for help on using the changeset viewer.
