exceptions-64e.S (82ffd0454bd9bd57780966d47bfd56d579dd4fb3) exceptions-64e.S (ed1cd6deb013a11959d17a94e35ce159197632da)
1/*
2 * Boot code and exception vectors for Book3E processors
3 *
4 * Copyright (C) 2007 Ben. Herrenschmidt (benh@kernel.crashing.org), IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 63 unchanged lines hidden (view full) ---

72 /*
73 * We only need (or have stack space) to save this stuff if
74 * we interrupted the kernel.
75 */
76 ld r3,_MSR(r1)
77 andi. r3,r3,MSR_PR
78 bnelr
79
1/*
2 * Boot code and exception vectors for Book3E processors
3 *
4 * Copyright (C) 2007 Ben. Herrenschmidt (benh@kernel.crashing.org), IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 63 unchanged lines hidden (view full) ---

72 /*
73 * We only need (or have stack space) to save this stuff if
74 * we interrupted the kernel.
75 */
76 ld r3,_MSR(r1)
77 andi. r3,r3,MSR_PR
78 bnelr
79
80 /* Copy info into temporary exception thread info */
81 ld r11,PACAKSAVE(r13)
82 CURRENT_THREAD_INFO(r11, r11)
83 CURRENT_THREAD_INFO(r12, r1)
84 ld r10,TI_FLAGS(r11)
85 std r10,TI_FLAGS(r12)
86 ld r10,TI_PREEMPT(r11)
87 std r10,TI_PREEMPT(r12)
88 ld r10,TI_TASK(r11)
89 std r10,TI_TASK(r12)
90
91 /*
92 * Advance to the next TLB exception frame for handler
93 * types that don't do it automatically.
94 */
95 LOAD_REG_ADDR(r11,extlb_level_exc)
96 lwz r12,0(r11)
97 mfspr r10,SPRN_SPRG_TLB_EXFRAME
98 add r10,r10,r12

--- 1603 unchanged lines hidden ---
80 /*
81 * Advance to the next TLB exception frame for handler
82 * types that don't do it automatically.
83 */
84 LOAD_REG_ADDR(r11,extlb_level_exc)
85 lwz r12,0(r11)
86 mfspr r10,SPRN_SPRG_TLB_EXFRAME
87 add r10,r10,r12

--- 1603 unchanged lines hidden ---