Changeset 0ffa3ef5 in mainline for arch/sparc64/src/asm.S
- Timestamp:
- 2006-07-10T20:57:30Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11675207
- Parents:
- 7f1c620
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/src/asm.S
r7f1c620 r0ffa3ef5 27 27 # 28 28 29 #include <arch/stack.h> 30 #include <arch/register.h> 31 29 32 .text 30 33 … … 35 38 .global memcpy_to_uspace_failover_address 36 39 .global memsetb 40 37 41 38 42 memcpy: … … 52 56 nop 53 57 58 .global ofw 59 ofw: 60 save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp 61 set ofw_cif, %l0 62 ldx [%l0], %l0 63 64 rdpr %pstate, %l1 65 and %l1, ~PSTATE_AM_BIT, %l2 66 wrpr %l2, 0, %pstate 67 68 jmpl %l0, %o7 69 mov %i0, %o0 70 71 wrpr %l1, 0, %pstate 72 73 ret 74 restore %o0, 0, %o0
Note:
See TracChangeset
for help on using the changeset viewer.