summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/motorola/mc68230.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-09 15:47:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-09 16:15:14 -0500
commit5bc6237a364c26d734f478b652eba1e457cfbf7a (patch)
treed8f6343b94403ee984031174390d29c0157b817e /cpukit/libcsupport/include/motorola/mc68230.h
parentcpukit/libcrypt/misc.c: Conditionally correct 16-bit unclean code (diff)
downloadrtems-5bc6237a364c26d734f478b652eba1e457cfbf7a.tar.bz2
Move libcsupport/include/motorola/*.h to m68k/idp BSP
These header files were only used by one BSP and they are hardware dependent. The hardware dependency always made them bad candidates for where they were in the tree. But this fixes that.
Diffstat (limited to 'cpukit/libcsupport/include/motorola/mc68230.h')
-rw-r--r--cpukit/libcsupport/include/motorola/mc68230.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/cpukit/libcsupport/include/motorola/mc68230.h b/cpukit/libcsupport/include/motorola/mc68230.h
deleted file mode 100644
index 2f94e0011c..0000000000
--- a/cpukit/libcsupport/include/motorola/mc68230.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * @file rtems/motorola/mc68230.h
- *
- * Low level support code for the Motorola 68230 Parallel
- * Interface/Timer (PIT)
- */
-
-/*
- * Modified by Doug McBride, Colorado Space Grant College
- *
- * Format taken partly from RTEMS code and mostly from Motorola IDP user's
- * manual. RTEMS copyright information below.
- *
- * COPYRIGHT (c) 1989-2011.
- * On-Line Applications Research Corporation (OAR).
- *
- * 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 _RTEMS_MOTOROLA_MC68230_H
-#define _RTEMS_MOTOROLA_MC68230_H
-
-/* Some Motorola IDP User manual defines: */
-#define MC68230_PIT_ADDR 0x00c01003 /* base address of the PIT */
-#define MC68230_REGOFF 0x04 /* Difference between addresses */
-#define MC68230_VECT 64
-#define MC68230_H1VECT 0x00
-#define MC68230_H2VECT 0x01
-#define MC68230_H3VECT 0x02
-#define MC68230_H4VECT 0x03
-
-/*
- * mc68230 register offsets
- */
-#define MC68230_PGCR 0x00
-#define MC68230_PSRR 1*MC68230_REGOFF
-#define MC68230_PADDR 2*MC68230_REGOFF
-#define MC68230_PBDDR 3*MC68230_REGOFF
-#define MC68230_PCDDR 4*MC68230_REGOFF
-#define MC68230_PIVR 5*MC68230_REGOFF
-#define MC68230_PACR 6*MC68230_REGOFF
-#define MC68230_PBCR 7*MC68230_REGOFF
-#define MC68230_PADR 8*MC68230_REGOFF
-#define MC68230_PBDR 9*MC68230_REGOFF
-#define MC68230_PAAR 10*MC68230_REGOFF
-#define MC68230_PBAR 11*MC68230_REGOFF
-#define MC68230_PCDR 12*MC68230_REGOFF
-#define MC68230_PITSR 13*MC68230_REGOFF
-#define MC68230_TCR 16*MC68230_REGOFF
-#define MC68230_TIVR 17*MC68230_REGOFF
-#define MC68230_CPRH 19*MC68230_REGOFF
-#define MC68230_CPRM 20*MC68230_REGOFF
-#define MC68230_CPRL 21*MC68230_REGOFF
-#define MC68230_CNTRH 23*MC68230_REGOFF
-#define MC68230_CNTRM 24*MC68230_REGOFF
-#define MC68230_CNTRL 25*MC68230_REGOFF
-#define MC68230_TSR 26*MC68230_REGOFF
-
-/* Some RTEMS style defines: */
-#ifndef MC68230_VOL8
-#define MC68230_VOL8( ptr ) ((volatile uint8_t *)(ptr))
-#endif
-
-#define MC68230_WRITE( reg, data ) \
- *(MC68230_VOL8(MC68230_PIT_ADDR+reg)) = (data)
-
-#define MC68230_READ( reg, data ) \
- (data) = *(MC68230_VOL8(MC68230_PIT_ADDR+reg))
-
-#endif