Changeset ffe276f in mainline for kernel/arch/ppc32/src/exception.S


Ignore:
Timestamp:
2010-05-22T22:56:00Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c555155
Parents:
86a3f89b
Message:

restructure constants
change the return type of pic_get_pending()
coding style changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/exception.S

    r86a3f89b rffe276f  
    2828
    2929#include <arch/asm/regname.h>
     30#include <arch/cpu.h>
    3031#include <arch/mm/page.h>
    3132
     
    3435.macro CONTEXT_STORE
    3536       
    36         # save R12 in SPRG1, backup CR in R12
     37        # save r12 in SPRG1, backup CR in r12
    3738        # save SP in SPRG2
    38 
     39       
    3940        mtsprg1 r12
    4041        mfcr r12
     
    288289       
    289290        mfmsr r12
    290         ori r12, r12, (msr_ir | msr_dr)@l
     291        ori r12, r12, (MSR_IR | MSR_DR)@l
    291292        mtsrr1 r12
    292293       
     
    307308       
    308309        mfmsr r12
    309         ori r12, r12, (msr_ir | msr_dr)@l
     310        ori r12, r12, (MSR_IR | MSR_DR)@l
    310311        mtsrr1 r12
    311312       
Note: See TracChangeset for help on using the changeset viewer.