@ -1,5 +1,5 @@
/ *
* Copyright 2 0 0 4 , 2 0 0 7 - 2 0 1 1 F r e e s c a l e S e m i c o n d u c t o r , I n c .
* Copyright 2 0 0 4 , 2 0 0 7 - 2 0 1 2 F r e e s c a l e S e m i c o n d u c t o r , I n c .
* Copyright ( C ) 2 0 0 3 M o t o r o l a ,I n c .
*
* See f i l e C R E D I T S f o r l i s t o f p e o p l e w h o c o n t r i b u t e d t o t h i s
@ -183,37 +183,40 @@ l2_disabled:
lis r1 ,C O N F I G _ S Y S _ M O N I T O R _ B A S E @h
mtspr I V P R ,r1
li r1 ,0 x01 0 0
mtspr I V O R 0 ,r1 / * 0 : C r i t i c a l i n p u t * /
li r1 ,0 x02 0 0
mtspr I V O R 1 ,r1 / * 1 : M a c h i n e c h e c k * /
li r1 ,0 x03 0 0
mtspr I V O R 2 ,r1 / * 2 : D a t a s t o r a g e * /
li r1 ,0 x04 0 0
mtspr I V O R 3 ,r1 / * 3 : I n s t r u c t i o n s t o r a g e * /
li r1 ,0 x05 0 0
mtspr I V O R 4 ,r1 / * 4 : E x t e r n a l i n t e r r u p t * /
li r1 ,0 x06 0 0
mtspr I V O R 5 ,r1 / * 5 : A l i g n m e n t * /
li r1 ,0 x07 0 0
mtspr I V O R 6 ,r1 / * 6 : P r o g r a m c h e c k * /
li r1 ,0 x08 0 0
mtspr I V O R 7 ,r1 / * 7 : f l o a t i n g p o i n t u n a v a i l a b l e * /
li r1 ,0 x09 0 0
mtspr I V O R 8 ,r1 / * 8 : S y s t e m c a l l * /
lis r3 ,( C O N F I G _ S Y S _ M O N I T O R _ B A S E & 0 x f f f f ) @h
ori r3 ,r3 ,( C O N F I G _ S Y S _ M O N I T O R _ B A S E & 0 x f f f f ) @l
addi r4 ,r3 ,C r i t i c a l I n p u t - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 0 ,r4 / * 0 : C r i t i c a l i n p u t * /
addi r4 ,r3 ,M a c h i n e C h e c k - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 1 ,r4 / * 1 : M a c h i n e c h e c k * /
addi r4 ,r3 ,D a t a S t o r a g e - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 2 ,r4 / * 2 : D a t a s t o r a g e * /
addi r4 ,r3 ,I n s t S t o r a g e - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 3 ,r4 / * 3 : I n s t r u c t i o n s t o r a g e * /
addi r4 ,r3 ,E x t I n t e r r u p t - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 4 ,r4 / * 4 : E x t e r n a l i n t e r r u p t * /
addi r4 ,r3 ,A l i g n m e n t - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 5 ,r4 / * 5 : A l i g n m e n t * /
addi r4 ,r3 ,P r o g r a m C h e c k - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 6 ,r4 / * 6 : P r o g r a m c h e c k * /
addi r4 ,r3 ,F P U n a v a i l a b l e - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 7 ,r4 / * 7 : f l o a t i n g p o i n t u n a v a i l a b l e * /
addi r4 ,r3 ,S y s t e m C a l l - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 8 ,r4 / * 8 : S y s t e m c a l l * /
/* 9: Auxiliary processor unavailable(unsupported) */
li r1 ,0 x0 a00
mtspr I V O R 1 0 ,r1 / * 1 0 : D e c r e m e n t e r * /
li r1 ,0 x0 b00
mtspr I V O R 1 1 ,r1 / * 1 1 : I n t e r v a l t i m e r * /
li r1 ,0 x0 c00
mtspr I V O R 1 2 ,r1 / * 1 2 : W a t c h d o g t i m e r * /
li r1 ,0 x0 d00
mtspr I V O R 1 3 ,r1 / * 1 3 : D a t a T L B e r r o r * /
li r1 ,0 x0 e 0 0
mtspr I V O R 1 4 ,r1 / * 1 4 : I n s t r u c t i o n T L B e r r o r * /
li r1 ,0 x0 f00
mtspr I V O R 1 5 ,r1 / * 1 5 : D e b u g * /
addi r4 ,r3 ,D e c r e m e n t e r - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 1 0 ,r4 / * 1 0 : D e c r e m e n t e r * /
addi r4 ,r3 ,I n t e r v a l T i m e r - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 1 1 ,r4 / * 1 1 : I n t e r v a l t i m e r * /
addi r4 ,r3 ,W a t c h d o g T i m e r - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 1 2 ,r4 / * 1 2 : W a t c h d o g t i m e r * /
addi r4 ,r3 ,D a t a T L B E r r o r - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 1 3 ,r4 / * 1 3 : D a t a T L B e r r o r * /
addi r4 ,r3 ,I n s t r u c t i o n T L B E r r o r - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 1 4 ,r4 / * 1 4 : I n s t r u c t i o n T L B e r r o r * /
addi r4 ,r3 ,D e b u g B r e a k p o i n t - _ s t a r t + _ S T A R T _ O F F S E T
mtspr I V O R 1 5 ,r4 / * 1 5 : D e b u g * /
/* Clear and set up some registers. */
li r0 ,0 x00 0 0