Ignore:
Timestamp:
2007-06-08T15:02:49Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c03ee1c
Parents:
3ee8a075
Message:

Merge arm32 into trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/libc/arch/arm32/src/psthread.S

    r3ee8a075 r6b781c0  
    11#
    2 # Copyright (c) 2005 Jakub Jermar
     2# Copyright (c) 2007 Michal Kebrt
    33# All rights reserved.
    44#
     
    3333
    3434context_save:
    35         /* TODO */
     35        stmia r0!, {sp, lr}
     36        stmia r0!, {r4-r11}
     37
     38        # return 1
     39        mov r0, #1
     40        mov pc, lr
    3641
    3742context_restore:
    38         /* TODO */
     43        ldmia r0!, {sp, lr}
     44        ldmia r0!, {r4-r11}
     45
     46        #return 0
     47        mov r0, #0
     48        mov pc, lr
     49
Note: See TracChangeset for help on using the changeset viewer.