summaryrefslogtreecommitdiffstats
path: root/tools/cpu/unix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-29 16:47:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-29 16:47:50 +0000
commit88f3393b2a6f8f48bfcf6bfbd84c3b0d86253191 (patch)
treee4f1a34a61fd693dea8acd0910d618814270cd6b /tools/cpu/unix
parent2001-03-29 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-88f3393b2a6f8f48bfcf6bfbd84c3b0d86253191.tar.bz2
2001-03-29 Joel Sherrill <joel@OARcorp.com>
* Per PR150, unix directory and contents removed. * unix/, unix/ChangeLog, unix/Makefile.am, unix/configure.ac, unix/gensize.c: Deleted.
Diffstat (limited to '')
-rw-r--r--tools/cpu/unix/.cvsignore14
-rw-r--r--tools/cpu/unix/ChangeLog28
-rw-r--r--tools/cpu/unix/Makefile.am11
-rw-r--r--tools/cpu/unix/configure.ac23
-rw-r--r--tools/cpu/unix/gensize.c116
5 files changed, 0 insertions, 192 deletions
diff --git a/tools/cpu/unix/.cvsignore b/tools/cpu/unix/.cvsignore
deleted file mode 100644
index d29e5050f5..0000000000
--- a/tools/cpu/unix/.cvsignore
+++ /dev/null
@@ -1,14 +0,0 @@
-Makefile
-Makefile.in
-aclocal.m4
-autom4te.cache
-config.cache
-config.guess
-config.log
-config.status
-config.sub
-configure
-depcomp
-install-sh
-missing
-mkinstalldirs
diff --git a/tools/cpu/unix/ChangeLog b/tools/cpu/unix/ChangeLog
deleted file mode 100644
index be8865aca7..0000000000
--- a/tools/cpu/unix/ChangeLog
+++ /dev/null
@@ -1,28 +0,0 @@
-2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * configure.ac:
- AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
- AM_INIT_AUTOMAKE([no-define foreign 1.6]).
- * Makefile.am: Remove AUTOMAKE_OPTIONS.
-
-2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * .cvsignore: Add autom4te.cache for autoconf > 2.52.
- * configure.in: Remove.
- * configure.ac: New file, generated from configure.in by autoupdate.
-
-2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
-
-2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
-
-2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
-
- * Makefile.am: Switch to GNU-canonicalized autoconf macros.
-
-2000-08-10 Joel Sherrill <joel@OARcorp.com>
-
- * ChangeLog: New file.
diff --git a/tools/cpu/unix/Makefile.am b/tools/cpu/unix/Makefile.am
deleted file mode 100644
index b6bd3c9061..0000000000
--- a/tools/cpu/unix/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-##
-## $Id$
-##
-
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
-noinst_PROGRAMS = gensize
-
-gensize_SOURCES = gensize.c
-
-include $(top_srcdir)/../../../automake/host.am
diff --git a/tools/cpu/unix/configure.ac b/tools/cpu/unix/configure.ac
deleted file mode 100644
index 1dbddef203..0000000000
--- a/tools/cpu/unix/configure.ac
+++ /dev/null
@@ -1,23 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-## $Id$
-
-AC_PREREQ(2.52)
-AC_INIT([rtems-tools-cpu-unix],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
-AC_CONFIG_SRCDIR([gensize.c])
-RTEMS_TOP(../../..)
-AC_CONFIG_AUX_DIR(../../..)
-
-RTEMS_CANONICAL_TARGET_CPU
-
-AM_INIT_AUTOMAKE([no-define foreign 1.6])
-AM_MAINTAINER_MODE
-AC_EXEEXT
-
-AC_PROG_CC
-
-RTEMS_TOOLPATHS
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/tools/cpu/unix/gensize.c b/tools/cpu/unix/gensize.c
deleted file mode 100644
index 2d848e0a94..0000000000
--- a/tools/cpu/unix/gensize.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * gensize.c
- *
- * This file generates the file unixsize.h
- *
- * NOTE: It only prints the minimal information required.
- *
- * COPYRIGHT (c) 1989-1999.
- * 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.OARcorp.com/rtems/license.html.
- *
- * $Id$
- *
- */
-
-/*
- * This feels like a very crude way to determine if we are on a Solaris
- * host but it does work.
- */
-
-#if defined(__sun__) && defined(__sparc__) && \
- defined(__unix__) && defined(__svr4__)
-#undef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 3
-#undef __STRICT_ANSI__
-#endif
-
-#include <stdio.h>
-#include <unistd.h>
-#include <setjmp.h>
-#include <signal.h>
-
-typedef struct {
- jmp_buf regs;
- int isr_level;
- int pad[4]; /* just in case */
-} Context_Control;
-
-int main(
- int argc,
- char **argv
-)
-{
- Context_Control *cc = 0;
-
- /*
- * Print the file header
- */
-
-printf(
- "/* unixsize.h\n"
- " *\n"
- " * This include file contans the size of the context control block\n"
- " * C data structure. This structure must be defined in such a way\n"
- " * that files NOT including the native header files can work.\n"
- " *\n"
- " * NOTE: THIS FILE IS AUTOMATICALLY GENERATED!!!!\n"
- " * DO NOT EDIT THIS BY HAND!!!!\n"
- " *\n"
- " * COPYRIGHT (c) 1989-1999.\n"
- " * On-Line Applications Research Corporation (OAR).\n"
- " *\n"
- " * The license and distribution terms for this file may be\n"
- " * found in the file LICENSE in this distribution or at\n"
- " * http://www.OARcorp.com/rtems/license.html.\n"
- " */\n"
- "\n"
- "#ifndef __UNIXSIZE_h\n"
- "#define __UNIXSIZE_h\n"
- "\n"
-);
-
-#define PRINT_IT( STRING, NUMBER ) \
- printf( "#define\t%s\t0x%x\t\t/* %d */\n", \
- STRING, \
- NUMBER, \
- NUMBER );
-
-#define PRINT_SIZE( STRING, NUMBER ) \
- printf( "#define\t%s\t0x%x\t\t/* %d */\n", \
- STRING, \
- NUMBER, \
- NUMBER );
-
-#define PRINT_COMMENT( STRING ) \
- printf( \
- "\n" \
- "/*\n" \
- " * " STRING "\n" \
- " */\n" \
- "\n" \
- );
-
- PRINT_COMMENT("Context_Control information");
-
- PRINT_SIZE("CPU_CONTEXT_SIZE_IN_BYTES", sizeof( Context_Control ) );
- PRINT_SIZE("CPU_CONTEXT_REGISTERS_OFFSET_IN_BYTES", (int) &cc->regs );
- PRINT_SIZE("CPU_CONTEXT_SIGNALS_OFFSET_IN_BYTES", (int) &cc->isr_level );
-
- /*
- * Print the end of file stuff
- */
-
- printf(
- "\n"
- "#endif /* __UNIXSIZE_h */\n"
- "\n"
- "/* end of include file */\n"
- );
-
- return 0;
-}
-