avr32: Kill special exception handler sections
Kill the special exception handler sections .tlbx.ex.text, .tlbr.ex.text, tlbw.ex.text and .scall.text. Use .org instead to place the handlers at the required offsets from EVBA. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
This commit is contained in:
parent
5b72b52cab
commit
d704fb0cc0
|
@ -83,22 +83,23 @@ exception_vectors:
|
||||||
#define tlbmiss_save pushm r0-r3
|
#define tlbmiss_save pushm r0-r3
|
||||||
#define tlbmiss_restore popm r0-r3
|
#define tlbmiss_restore popm r0-r3
|
||||||
|
|
||||||
.section .tlbx.ex.text,"ax",@progbits
|
.org 0x50
|
||||||
.global itlb_miss
|
.global itlb_miss
|
||||||
itlb_miss:
|
itlb_miss:
|
||||||
tlbmiss_save
|
tlbmiss_save
|
||||||
rjmp tlb_miss_common
|
rjmp tlb_miss_common
|
||||||
|
|
||||||
.section .tlbr.ex.text,"ax",@progbits
|
.org 0x60
|
||||||
dtlb_miss_read:
|
dtlb_miss_read:
|
||||||
tlbmiss_save
|
tlbmiss_save
|
||||||
rjmp tlb_miss_common
|
rjmp tlb_miss_common
|
||||||
|
|
||||||
.section .tlbw.ex.text,"ax",@progbits
|
.org 0x70
|
||||||
dtlb_miss_write:
|
dtlb_miss_write:
|
||||||
tlbmiss_save
|
tlbmiss_save
|
||||||
|
|
||||||
.global tlb_miss_common
|
.global tlb_miss_common
|
||||||
|
.align 2
|
||||||
tlb_miss_common:
|
tlb_miss_common:
|
||||||
mfsr r0, SYSREG_TLBEAR
|
mfsr r0, SYSREG_TLBEAR
|
||||||
mfsr r1, SYSREG_PTBR
|
mfsr r1, SYSREG_PTBR
|
||||||
|
@ -157,7 +158,7 @@ handle_vmalloc_miss:
|
||||||
|
|
||||||
/* --- System Call --- */
|
/* --- System Call --- */
|
||||||
|
|
||||||
.section .scall.text,"ax",@progbits
|
.org 0x100
|
||||||
system_call:
|
system_call:
|
||||||
#ifdef CONFIG_PREEMPT
|
#ifdef CONFIG_PREEMPT
|
||||||
mask_interrupts
|
mask_interrupts
|
||||||
|
|
|
@ -68,14 +68,6 @@ SECTIONS
|
||||||
_evba = .;
|
_evba = .;
|
||||||
_text = .;
|
_text = .;
|
||||||
*(.ex.text)
|
*(.ex.text)
|
||||||
. = 0x50;
|
|
||||||
*(.tlbx.ex.text)
|
|
||||||
. = 0x60;
|
|
||||||
*(.tlbr.ex.text)
|
|
||||||
. = 0x70;
|
|
||||||
*(.tlbw.ex.text)
|
|
||||||
. = 0x100;
|
|
||||||
*(.scall.text)
|
|
||||||
*(.irq.text)
|
*(.irq.text)
|
||||||
KPROBES_TEXT
|
KPROBES_TEXT
|
||||||
TEXT_TEXT
|
TEXT_TEXT
|
||||||
|
|
Loading…
Reference in New Issue