diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-05-02 15:32:57 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-05-27 15:27:30 +0200 |
commit | caf83ea888a0220f41747d0b7748fa43b4a4bd49 (patch) | |
tree | 3ac20bbef11f75760e772c74b07ef99f8a466908 /cpu/at32ap/Makefile | |
parent | 0c16eed2189a190bd5655b33c029f809a9b31128 (diff) |
avr32: Use the same entry point for reset and exception handling
Since the reset vector is always aligned to a very large boundary, we
can save a couple of KB worth of alignment padding by placing the
exception vectors at the same address.
Deciding which one it is is easy: If we're handling an exception, the
CPU is in Exception mode. If we're starting up after reset, the CPU is
in Supervisor mode. So this adds a very minimal overhead to the reset
path (only executed once) and the exception handling path (normally
never executed at all.)
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'cpu/at32ap/Makefile')
-rw-r--r-- | cpu/at32ap/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cpu/at32ap/Makefile b/cpu/at32ap/Makefile index 8e384c7e07..29f9c0d04a 100644 --- a/cpu/at32ap/Makefile +++ b/cpu/at32ap/Makefile @@ -29,7 +29,6 @@ LIB := $(obj)lib$(CPU).a START-y += start.o -SOBJS-y += entry.o COBJS-y += cpu.o COBJS-y += hsdramc.o COBJS-y += exception.o |