[PATCH] ppc32: Add support for Freescale e200 (Book-E) core
The e200 core is a Book-E core (similar to e500) that has a unified L1 cache and is not cache coherent on the bus. The e200 core also adds a separate exception level for debug exceptions. Part of this patch helps to cleanup a few cases that are true for all Freescale Book-E parts, not just e500. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
62aa751d16
commit
33d9e9b56d
@@ -60,6 +60,11 @@ mcheck_transfer_to_handler:
|
||||
TRANSFER_TO_HANDLER_EXC_LEVEL(MCHECK)
|
||||
b transfer_to_handler_full
|
||||
|
||||
.globl debug_transfer_to_handler
|
||||
debug_transfer_to_handler:
|
||||
TRANSFER_TO_HANDLER_EXC_LEVEL(DEBUG)
|
||||
b transfer_to_handler_full
|
||||
|
||||
.globl crit_transfer_to_handler
|
||||
crit_transfer_to_handler:
|
||||
TRANSFER_TO_HANDLER_EXC_LEVEL(CRIT)
|
||||
@@ -835,6 +840,10 @@ ret_from_crit_exc:
|
||||
RET_FROM_EXC_LEVEL(SPRN_CSRR0, SPRN_CSRR1, RFCI)
|
||||
|
||||
#ifdef CONFIG_BOOKE
|
||||
.globl ret_from_debug_exc
|
||||
ret_from_debug_exc:
|
||||
RET_FROM_EXC_LEVEL(SPRN_DSRR0, SPRN_DSRR1, RFDI)
|
||||
|
||||
.globl ret_from_mcheck_exc
|
||||
ret_from_mcheck_exc:
|
||||
RET_FROM_EXC_LEVEL(SPRN_MCSRR0, SPRN_MCSRR1, RFMCI)
|
||||
|
Reference in New Issue
Block a user