summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gba/startup/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/gba/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/arm/gba/startup/bspstart.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/c/src/lib/libbsp/arm/gba/startup/bspstart.c b/c/src/lib/libbsp/arm/gba/startup/bspstart.c
deleted file mode 100644
index b5e37d4c57..0000000000
--- a/c/src/lib/libbsp/arm/gba/startup/bspstart.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * @file bspstart.c
- *
- * This file contains the GBA BSP startup package.
- * It includes application, board, and monitor specific initialization and
- * configuration. The generic CPU dependent initialization has been
- * performed before this routine is invoked.
- */
-/*
- * RTEMS GBA BSP
- *
- * Copyright (c) 2004 Markku Puro <markku.puro@kopteri.net>
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#include <stdio.h>
-#include <bsp.h>
-#include <bsp/irq-generic.h>
-#include <rtems/bspIo.h>
-#include <gba.h>
-#include <conio.h>
-
-/** Chip registers */
-volatile unsigned int *Regs = (unsigned int *)GBA_IO_REGS_ADDR;
-
-/**
- * @brief BSP Start
- *
- * Called before main is invoked.
- *
- * @param None
- * @return None
- */
-static void bsp_start_default( void )
-{
- /* Init conio */
- gba_textmode(CO60);
-
- /* Init rtems exceptions management
- * !!!!!GBA -- Can't use exception vectors in GBA because they are
- * already in GBA ROM BIOS
- */
- /* rtems_exception_init_mngt(); */
-
- /* Init rtems interrupt management */
- bsp_interrupt_initialize();
-}
-
-/**
- * @brief weak alias for bsp_start_default
- *
- * By making this a weak alias for bsp_start_default, a brave soul
- * can override the actual bsp_start routine used.
- */
-void bsp_start (void) __attribute__ ((weak, alias("bsp_start_default")));