summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/ixp425
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-03-09 18:08:27 +0000
committerian <ian@FreeBSD.org>2014-03-09 18:08:27 +0000
commit3b592f9410a74f60bfae632b7fe97fd3b544ae9f (patch)
tree4930b030f23de5aad9d710bd94d0b63e3aaa5876 /sys/arm/xscale/ixp425
parentda7ada7de5386a2e2777c6674ed89b510819ea53 (diff)
downloadFreeBSD-src-3b592f9410a74f60bfae632b7fe97fd3b544ae9f.zip
FreeBSD-src-3b592f9410a74f60bfae632b7fe97fd3b544ae9f.tar.gz
The arm exception entry points currently vector through a function pointer
to the actual handler routine. All the pointers are static-intialized to the only handlers available, and yet various platform-specific inits still set those pointers (to the values they're already initialized to). Begin to drain the swamp by removing all the redundant external declarations and runtime setting of the pointers that's scattered around various places.
Diffstat (limited to 'sys/arm/xscale/ixp425')
-rw-r--r--sys/arm/xscale/ixp425/avila_machdep.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c
index 02f493c..2ef2adc 100644
--- a/sys/arm/xscale/ixp425/avila_machdep.c
+++ b/sys/arm/xscale/ixp425/avila_machdep.c
@@ -102,10 +102,6 @@ __FBSDID("$FreeBSD$");
/* this should be evenly divisable by PAGE_SIZE / L2_TABLE_SIZE_REAL (or 4) */
#define NUM_KERNEL_PTS (KERNEL_PT_AFKERNEL + KERNEL_PT_AFKERNEL_NUM)
-extern u_int data_abort_handler_address;
-extern u_int prefetch_abort_handler_address;
-extern u_int undefined_handler_address;
-
struct pv_addr kernel_pt_table[NUM_KERNEL_PTS];
/* Physical and virtual addresses for some global pages */
@@ -393,11 +389,6 @@ initarm(struct arm_boot_params *abp)
else
memsize = ixp425_sdram_size();
- /* Set stack for exception handlers */
-
- data_abort_handler_address = (u_int)data_abort_handler;
- prefetch_abort_handler_address = (u_int)prefetch_abort_handler;
- undefined_handler_address = (u_int)undefinedinstruction_bounce;
undefined_init();
init_proc0(kernelstack.pv_va);
OpenPOWER on IntegriCloud