Ignore:
Timestamp:
2013-11-26T18:49:32Z (10 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a218709
Parents:
a7372ccf
Message:

Added register window flushes in userspace when apporiate
and done some minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc32/src/stacktrace_asm.S

    ra7372ccf r3bc42bd  
    3838        save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE+STACK_ARG_SAVE_AREA_SIZE), %sp
    3939        # Flush all other windows to memory so that we can read their contents.
    40 # XXX   flushw
     40        mov 7, %g1
     411:      subcc %g1, 1, %g1
     42        bg 1b
     43        save %sp, -64, %sp
     44
     45        mov 7, %g1
     461:      subcc %g1, 1, %g1
     47        bg 1b
     48
    4149        ret
    4250        restore
Note: See TracChangeset for help on using the changeset viewer.