summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/nds/include
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/nds/include')
-rw-r--r--c/src/lib/libbsp/arm/nds/include/bsp.h43
-rw-r--r--c/src/lib/libbsp/arm/nds/include/my_ipc.h34
-rw-r--r--c/src/lib/libbsp/arm/nds/include/sys/iosupport.h32
-rw-r--r--c/src/lib/libbsp/arm/nds/include/types.h27
4 files changed, 0 insertions, 136 deletions
diff --git a/c/src/lib/libbsp/arm/nds/include/bsp.h b/c/src/lib/libbsp/arm/nds/include/bsp.h
deleted file mode 100644
index 8b795e288f..0000000000
--- a/c/src/lib/libbsp/arm/nds/include/bsp.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com>
- *
- * 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
- */
-
-#ifndef LIBBSP_ARM_NDS_H
-#define LIBBSP_ARM_NDS_H
-
-#include <bspopts.h>
-#include <bsp/default-initial-extension.h>
-#include <rtems.h>
-#include <rtems/iosupp.h>
-#include <rtems/bspIo.h>
-#include <rtems/console.h>
-#include <rtems/clockdrv.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-struct rtems_bsdnet_ifconfig;
-
-int rtems_wifi_driver_attach (struct rtems_bsdnet_ifconfig *config,
- int attach);
-
-#define RTEMS_BSP_NETWORK_DRIVER_NAME "dswifi0"
-#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_wifi_driver_attach
-
-#define RTC_DRIVER_TABLE_ENTRY \
- { rtc_initialize, NULL, NULL, NULL, NULL, NULL }
-extern rtems_device_driver rtc_initialize (rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *arg);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/c/src/lib/libbsp/arm/nds/include/my_ipc.h b/c/src/lib/libbsp/arm/nds/include/my_ipc.h
deleted file mode 100644
index 6dd05eaee7..0000000000
--- a/c/src/lib/libbsp/arm/nds/include/my_ipc.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * RTEMS for Nintendo DS interprocessor communication extensions.
- *
- * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com>
- *
- * 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
- */
-
-#ifndef _MYIPC_H_
-#define _MYIPC_H_
-
-#include "types.h"
-
-typedef struct
-{
- vuint8_t *record_buffer;
- vuint32_t record_length_max;
- vuint32_t recorded_length;
- vuint8_t record;
-} my_TransferRegion;
-
-static inline my_TransferRegion volatile *
-getmy_IPC (void)
-{
- return (my_TransferRegion volatile *) (0x027FF000 +
- sizeof (TransferRegion));
-}
-
-#define my_IPC getmy_IPC()
-
-#endif
diff --git a/c/src/lib/libbsp/arm/nds/include/sys/iosupport.h b/c/src/lib/libbsp/arm/nds/include/sys/iosupport.h
deleted file mode 100644
index 685065c30f..0000000000
--- a/c/src/lib/libbsp/arm/nds/include/sys/iosupport.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef __iosupp_h__
-#define __iosupp_h__
-
-#include <reent.h>
-
-enum {
- STD_IN,
- STD_OUT,
- STD_ERR,
- STD_MAX = 16
-};
-
-#define _SHIFTL(v, s, w) \
- ((unsigned int) (((unsigned int)(v) & ((0x01 << (w)) - 1)) << (s)))
-#define _SHIFTR(v, s, w) \
- ((unsigned int)(((unsigned int)(v) >> (s)) & ((0x01 << (w)) - 1)))
-
-typedef struct {
- const char *name;
- int (*open_r)(struct _reent *r,const char *path,int flags,int mode);
- int (*close_r)(struct _reent *r,int fd);
- int (*write_r)(struct _reent *r,int fd,const char *ptr,int len);
- int (*read_r)(struct _reent *r,int fd,char *ptr,int len);
- int (*seek_r)(struct _reent *r,int fd,int pos,int dir);
- int (*stat_r)(struct _reent *r,int fd,struct stat *st);
-} devoptab_t;
-
-extern const devoptab_t *devoptab_list[];
-
-int AddDevice( const devoptab_t* device);
-
-#endif
diff --git a/c/src/lib/libbsp/arm/nds/include/types.h b/c/src/lib/libbsp/arm/nds/include/types.h
deleted file mode 100644
index f8dcfbad6f..0000000000
--- a/c/src/lib/libbsp/arm/nds/include/types.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com>
- *
- * 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
- */
-
-#ifndef BSP_NDS_TYPES_H_
-#define BSP_NDS_TYPES_H_
-
-#include <stdint.h>
-
-/*
- * volatile types for registers.
- */
-
-typedef volatile char vint8_t;
-typedef volatile short int vint16_t;
-typedef volatile int vint32_t;
-
-typedef volatile unsigned char vuint8_t;
-typedef volatile unsigned short int vuint16_t;
-typedef volatile unsigned int vuint32_t;
-
-#endif