Changeset b8230b9 in mainline for kernel/arch/mips32


Ignore:
Timestamp:
2010-05-22T22:20:37Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d354d57
Parents:
3d6beaa
Message:

coding style changes, no change in functionality

Location:
kernel/arch/mips32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/asm.h

    r3d6beaa rb8230b9  
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
  • kernel/arch/mips32/include/debug.h

    r3d6beaa rb8230b9  
    3636#define KERN_mips23_DEBUG_H_
    3737
    38 /**     simulator enters the trace mode */
    39 #define ___traceon()    asm volatile ( "\t.word\t0x39\n");
    40 /**     simulator leaves the trace mode */
    41 #define ___traceoff()   asm volatile ( "\t.word\t0x3d\n");
    42 /**     register dump */
    43 #define ___regview()    asm volatile ( "\t.word\t0x37\n");
    44 /**     halt the simulator */
    45 #define ___halt()       asm volatile ( "\t.word\t0x28\n");
    46 /**     simulator enters interactive mode */
    47 #define ___intmode()    asm volatile ( "\t.word\t0x29\n");
     38/** Enter the simulator trace mode */
     39#define ___traceon()  asm volatile ( "\t.word\t0x39\n");
     40
     41/** Leave the simulator trace mode */
     42#define ___traceoff()  asm volatile ( "\t.word\t0x3d\n");
     43
     44/** Ask the simulator to dump registers */
     45#define ___regview()  asm volatile ( "\t.word\t0x37\n");
     46
     47/** Halt the simulator */
     48#define ___halt()  asm volatile ( "\t.word\t0x28\n");
     49
     50/** Enter the simulator interactive mode */
     51#define ___intmode()  asm volatile ( "\t.word\t0x29\n");
    4852
    4953#endif
  • kernel/arch/mips32/src/context.S

    r3d6beaa rb8230b9  
    2828
    2929#include <arch/context_offset.h>
    30        
    31 .text   
     30
     31.text
    3232
    3333.set noat
     
    3838.global context_restore_arch
    3939
    40        
    4140context_save_arch:
    4241        CONTEXT_SAVE_ARCH_CORE $a0
    43 
     42       
    4443        # context_save returns 1
    4544        j $31
    46         li $2, 1       
    47        
     45        li $2, 1
     46
    4847context_restore_arch:
    4948        CONTEXT_RESTORE_ARCH_CORE $a0
    50 
     49       
    5150        # context_restore returns 0
    5251        j $31
    53         xor $2, $2     
     52        xor $2, $2
Note: See TracChangeset for help on using the changeset viewer.