<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Made a mistake, ignore this patch.<br><div class="zmail_extra"><div id="1"><br>============ Forwarded message ============<br>From : Aun-Ali Zaidi<admin@kodeit.net><br>To : <rtems-devel@rtems.org><br>Cc : "Aun-Ali Zaidi" <admin@kodeit.net><br>Date : Tue, 08 Dec 2015 10:35:51 -0600<br>Subject : [PATCH 1/2] m68k/mvme136: Remove<br>============ Forwarded message ============<br></div><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px">updates #2444. <br>--- <br> c/src/lib/libbsp/m68k/mvme136/Makefile.am | 62 ------- <br> c/src/lib/libbsp/m68k/mvme136/bsp_specs | 13 -- <br> c/src/lib/libbsp/m68k/mvme136/clock/ckinit.c | 114 ------------ <br> c/src/lib/libbsp/m68k/mvme136/configure.ac | 20 --- <br> c/src/lib/libbsp/m68k/mvme136/console/console.c | 173 ------------------ <br> c/src/lib/libbsp/m68k/mvme136/include/bsp.h | 81 --------- <br> c/src/lib/libbsp/m68k/mvme136/include/coverhd.h | 106 ----------- <br> c/src/lib/libbsp/m68k/mvme136/include/tm27.h | 36 ---- <br> .../mvme136/make/custom/mvme136-testsuite.tcfg | 7 - <br> .../libbsp/m68k/mvme136/make/custom/mvme136.cfg | 26 --- <br> c/src/lib/libbsp/m68k/mvme136/preinstall.am | 76 -------- <br> c/src/lib/libbsp/m68k/mvme136/shmsupp/addrconv.c | 29 --- <br> c/src/lib/libbsp/m68k/mvme136/shmsupp/getcfg.c | 82 --------- <br> c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c | 71 -------- <br> c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c | 39 ---- <br> c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c | 46 ----- <br> c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c | 39 ---- <br> c/src/lib/libbsp/m68k/mvme136/startup/linkcmds | 199 --------------------- <br> c/src/lib/libbsp/m68k/mvme136/timer/timer.c | 85 --------- <br> c/src/lib/libbsp/m68k/mvme136/timer/timerisr.S | 36 ---- <br> c/src/lib/libbsp/m68k/mvme136/times | 189 ------------------- <br> 21 files changed, 1529 deletions(-) <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/Makefile.am <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/bsp_specs <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/clock/ckinit.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/configure.ac <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/console/console.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/include/bsp.h <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/include/coverhd.h <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/include/tm27.h <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136-testsuite.tcfg <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136.cfg <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/preinstall.am <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/shmsupp/addrconv.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/shmsupp/getcfg.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/startup/linkcmds <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/timer/timer.c <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/timer/timerisr.S <br> delete mode 100644 c/src/lib/libbsp/m68k/mvme136/times <br> <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/Makefile.am b/c/src/lib/libbsp/m68k/mvme136/Makefile.am <br>deleted file mode 100644 <br>index 2dbaef4..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/Makefile.am <br>+++ /dev/null <br>@@ -1,62 +0,0 @@ <br>-ACLOCAL_AMFLAGS = -I ../../../../aclocal <br>- <br>-include $(top_srcdir)/../../../../automake/compile.am <br>- <br>-include_bspdir = $(includedir)/bsp <br>- <br>-dist_project_lib_DATA = bsp_specs <br>- <br>-include_HEADERS = include/bsp.h <br>-include_HEADERS += include/tm27.h <br>- <br>-nodist_include_HEADERS = include/bspopts.h <br>-nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h <br>-DISTCLEANFILES = include/bspopts.h <br>-noinst_PROGRAMS = <br>- <br>-include_HEADERS += include/coverhd.h <br>- <br>-## Zilog component header files <br>-include_rtems_zilogdir = $(includedir)/rtems/zilog <br>-include_rtems_zilog_HEADERS = ../../shared/include/zilog/z8036.h <br>- <br>-noinst_LIBRARIES = libbspstart.a <br>-libbspstart_a_SOURCES = ../../m68k/shared/start/start.S <br>-project_lib_DATA = start.$(OBJEXT) <br>- <br>-dist_project_lib_DATA += startup/linkcmds <br>- <br>-noinst_LIBRARIES += libbsp.a <br>-libbsp_a_SOURCES = <br>- <br>-# startup <br>-libbsp_a_SOURCES += startup/bspclean.c ../../shared/bsplibc.c \ <br>- ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ <br>- startup/bspstart.c ../../shared/bootcard.c \ <br>- ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \ <br>- ../../shared/sbrk.c ../../shared/setvec.c <br>-# gnatsupp <br>-libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c <br>-# clock <br>-libbsp_a_SOURCES += clock/ckinit.c <br>-# console <br>-libbsp_a_SOURCES += console/console.c <br>-# debugio <br>-libbsp_a_SOURCES += ../../shared/dummy_printk_support.c <br>-# timer <br>-libbsp_a_SOURCES += timer/timer.c timer/timerisr.S <br>- <br>-if HAS_MP <br>-# shmsupp <br>-libbsp_a_SOURCES += shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \ <br>- shmsupp/mpisr.c <br>-endif <br>- <br>-libbsp_a_LIBADD = \ <br>- ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ <br>- ../../../libcpu/@RTEMS_CPU@/shared/misc.rel <br>- <br>-EXTRA_DIST = times <br>- <br>-include $(srcdir)/preinstall.am <br>-include $(top_srcdir)/../../../../automake/local.am <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/bsp_specs b/c/src/lib/libbsp/m68k/mvme136/bsp_specs <br>deleted file mode 100644 <br>index 5154de8..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/bsp_specs <br>+++ /dev/null <br>@@ -1,13 +0,0 @@ <br>-%rename endfile old_endfile <br>-%rename startfile old_startfile <br>-%rename link old_link <br>- <br>-*startfile: <br>-%{!qrtems: %(old_startfile)} \ <br>-%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e start}} <br>- <br>-*link: <br>-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N} <br>- <br>-*endfile: <br>-%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/clock/ckinit.c b/c/src/lib/libbsp/m68k/mvme136/clock/ckinit.c <br>deleted file mode 100644 <br>index 02115c4..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/clock/ckinit.c <br>+++ /dev/null <br>@@ -1,114 +0,0 @@ <br>-/* <br>- * This routine initializes the Z80386 1 on the MVME136 board. <br>- * The tick frequency is 1 millisecond. <br>- */ <br>- <br>-/* <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <stdlib.h> <br>- <br>-#include <bsp.h> <br>-#include <rtems/zilog/z8036.h> <br>- <br>-#define MICRVAL 0xe2 /* disable lower chain, no vec */ <br>- /* set right justified addr */ <br>- /* and master int enable */ <br>-#define MCCRVAL 0xc4 /* enable T1 and port B */ <br>- /* timers independent */ <br>-#define MS_COUNT 0x07d0 /* T1's countdown constant (1 ms) */ <br>-#define T1MSRVAL 0x80 /* T1 cont. cycle/pulse output */ <br>-#define T1CSRVAL 0xc6 /* enable interrupt, allow and */ <br>- /* and trigger countdown */ <br>- <br>-#define TIMER 0xfffb0000 <br>-#define RELOAD 0x24 /* clr IP & IUS,allow countdown */ <br>- <br>-#define CLOCK_VECTOR 66 <br>- <br>-uint32_t Clock_isrs; /* ISRs until next tick */ <br>- <br>-volatile uint32_t Clock_driver_ticks; /* ticks since initialization */ <br>- <br>-rtems_isr_entry Old_ticker; <br>- <br>-void Clock_exit( void ); <br>- <br>-/* <br>- * ISR Handler <br>- */ <br>-static rtems_isr Clock_isr( <br>- rtems_vector_number vector <br>-) <br>-{ <br>- Clock_driver_ticks += 1; <br>- ((volatile struct z8036_map *) TIMER)->CT1_CMD_STATUS = RELOAD; <br>- <br>- if ( Clock_isrs == 1 ) { <br>- rtems_clock_tick(); <br>- Clock_isrs = rtems_configuration_get_microseconds_per_tick() / 1000; <br>- } <br>- else <br>- Clock_isrs -= 1; <br>-} <br>- <br>-static void Install_clock( <br>- rtems_isr_entry clock_isr <br>-) <br>-{ <br>- volatile struct z8036_map *timer; <br>- <br>- Clock_driver_ticks = 0; <br>- Clock_isrs = rtems_configuration_get_microseconds_per_tick() / 1000; <br>- <br>- Old_ticker = (rtems_isr_entry) set_vector( clock_isr, CLOCK_VECTOR, 1 ); <br>- timer = (struct z8036_map *) 0xfffb0000; <br>- timer->MASTER_INTR = MICRVAL; <br>- timer->CT1_MODE_SPEC = T1MSRVAL; <br>- <br>- *((uint16_t*)0xfffb0016) = MS_COUNT; /* write countdown value */ <br>- <br>- /* <br>- * timer->CT1_TIME_CONST_MSB = (MS_COUNT >> 8); <br>- * timer->CT1_TIME_CONST_LSB = (MS_COUNT & 0xff); <br>- */ <br>- <br>- timer->MASTER_CFG = MCCRVAL; <br>- timer->CT1_CMD_STATUS = T1CSRVAL; <br>- <br>- /* <br>- * Enable interrupt via VME interrupt mask register <br>- */ <br>- (*(uint8_t*)0xfffb0038) &= 0xfd; <br>- <br>- atexit( Clock_exit ); <br>-} <br>- <br>-void Clock_exit( void ) <br>-{ <br>- volatile struct z8036_map *timer; <br>- <br>- timer = (struct z8036_map *) 0xfffb0000; <br>- timer->MASTER_INTR = 0x62; <br>- timer->CT1_MODE_SPEC = 0x00; <br>- timer->MASTER_CFG = 0xf4; <br>- timer->CT1_CMD_STATUS = 0x00; <br>- /* do not restore old vector */ <br>-} <br>- <br>-rtems_device_driver Clock_initialize( <br>- rtems_device_major_number major, <br>- rtems_device_minor_number minor, <br>- void *pargp <br>-) <br>-{ <br>- Install_clock( Clock_isr ); <br>- <br>- return RTEMS_SUCCESSFUL; <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/configure.ac b/c/src/lib/libbsp/m68k/mvme136/configure.ac <br>deleted file mode 100644 <br>index 2a714b6..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/configure.ac <br>+++ /dev/null <br>@@ -1,20 +0,0 @@ <br>-## Process this file with autoconf to produce a configure script. <br>- <br>-AC_PREREQ([2.69]) <br>-AC_INIT([rtems-c-src-lib-libbsp-m68k-mvme136],[_RTEMS_VERSION],[<a href="https://devel.rtems.org/newticket" target="_blank">https://devel.rtems.org/newticket</a>]) <br>-AC_CONFIG_SRCDIR([bsp_specs]) <br>-RTEMS_TOP(../../../../../..) <br>- <br>-RTEMS_CANONICAL_TARGET_CPU <br>-AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) <br>-RTEMS_BSP_CONFIGURE <br>- <br>-RTEMS_PROG_CC_FOR_TARGET <br>-RTEMS_CANONICALIZE_TOOLS <br>-RTEMS_PROG_CCAS <br>- <br>-RTEMS_BSP_CLEANUP_OPTIONS(0, 0) <br>- <br>-# Explicitly list all Makefiles here <br>-AC_CONFIG_FILES([Makefile]) <br>-AC_OUTPUT <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/console/console.c b/c/src/lib/libbsp/m68k/mvme136/console/console.c <br>deleted file mode 100644 <br>index ce8fa8d..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/console/console.c <br>+++ /dev/null <br>@@ -1,173 +0,0 @@ <br>-/* <br>- * This file contains the MVME136 console IO package. <br>- */ <br>- <br>-/* <br>- * COPYRIGHT (c) 1989-2014. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <bsp.h> <br>-#include <rtems/libio.h> <br>- <br>-volatile struct r_m681_info *_Read_m681; /* M68681 read registers */ <br>-volatile struct w_m681_info *_Write_m681; /* M68681 write registers */ <br>- <br>-/* console_initialize <br>- * <br>- * This routine initializes the console IO driver. <br>- */ <br>-rtems_device_driver console_initialize( <br>- rtems_device_major_number major, <br>- rtems_device_minor_number minor, <br>- void *arg <br>-) <br>-{ <br>- rtems_status_code status; <br>- <br>- _Write_m681 = ( struct w_m681_info * ) M681ADDR; <br>- _Read_m681 = ( struct r_m681_info * ) M681ADDR; <br>- <br>- status = rtems_io_register_name( <br>- "/dev/console", <br>- major, <br>- (rtems_device_minor_number) 0 <br>- ); <br>- <br>- if (status != RTEMS_SUCCESSFUL) <br>- rtems_fatal_error_occurred(status); <br>- <br>- return RTEMS_SUCCESSFUL; <br>-} <br>- <br>-/* inbyte <br>- * <br>- * This routine reads a character from the UART. <br>- */ <br>-static char inbyte( void ) <br>-{ <br>- while ( !(_Read_m681->srb & RXRDYB) ); <br>- return _Read_m681->rbb; <br>-} <br>- <br>-/* outbyte <br>- * <br>- * This routine transmits a character out the M68681. It supports <br>- * XON/XOFF flow control. <br>- */ <br>-static void outbyte( <br>- char ch <br>-) <br>-{ <br>- while ( ! (_Read_m681->srb & TXRDYB) ) ; <br>- while ( _Read_m681->srb & RXRDYB ) /* must be an XOFF */ <br>- if ( _Read_m681->rbb == XOFF ) <br>- do { <br>- while ( ! (_Read_m681->srb & RXRDYB) ) ; <br>- } while ( _Read_m681->rbb != XON ); <br>- <br>- _Write_m681->tbb = ch; <br>- if ( ch == '\n' ) <br>- outbyte( CR ); <br>-} <br>- <br>-/* <br>- * Open entry point <br>- */ <br>-rtems_device_driver console_open( <br>- rtems_device_major_number major, <br>- rtems_device_minor_number minor, <br>- void * arg <br>-) <br>-{ <br>- return RTEMS_SUCCESSFUL; <br>-} <br>- <br>-/* <br>- * Close entry point <br>- */ <br>-rtems_device_driver console_close( <br>- rtems_device_major_number major, <br>- rtems_device_minor_number minor, <br>- void * arg <br>-) <br>-{ <br>- return RTEMS_SUCCESSFUL; <br>-} <br>- <br>-/* <br>- * read bytes from the serial port. We only have stdin. <br>- */ <br>-rtems_device_driver console_read( <br>- rtems_device_major_number major, <br>- rtems_device_minor_number minor, <br>- void * arg <br>-) <br>-{ <br>- rtems_libio_rw_args_t *rw_args; <br>- char *buffer; <br>- int maximum; <br>- int count = 0; <br>- <br>- rw_args = (rtems_libio_rw_args_t *) arg; <br>- <br>- buffer = rw_args->buffer; <br>- maximum = rw_args->count; <br>- <br>- for (count = 0; count < maximum; count++) { <br>- buffer[ count ] = inbyte(); <br>- if (buffer[ count ] == '\n' || buffer[ count ] == '\r') { <br>- buffer[ count++ ] = '\n'; <br>- break; <br>- } <br>- } <br>- <br>- rw_args->bytes_moved = count; <br>- return (count >= 0) ? RTEMS_SUCCESSFUL : RTEMS_UNSATISFIED; <br>-} <br>- <br>-/* <br>- * write bytes to the serial port. Stdout and stderr are the same. <br>- */ <br>-rtems_device_driver console_write( <br>- rtems_device_major_number major, <br>- rtems_device_minor_number minor, <br>- void * arg <br>-) <br>-{ <br>- int count; <br>- int maximum; <br>- rtems_libio_rw_args_t *rw_args; <br>- char *buffer; <br>- <br>- rw_args = (rtems_libio_rw_args_t *) arg; <br>- <br>- buffer = rw_args->buffer; <br>- maximum = rw_args->count; <br>- <br>- for (count = 0; count < maximum; count++) { <br>- if ( buffer[ count ] == '\n') { <br>- outbyte('\r'); <br>- } <br>- outbyte( buffer[ count ] ); <br>- } <br>- <br>- rw_args->bytes_moved = maximum; <br>- return 0; <br>-} <br>- <br>-/* <br>- * IO Control entry point <br>- */ <br>-rtems_device_driver console_control( <br>- rtems_device_major_number major, <br>- rtems_device_minor_number minor, <br>- void * arg <br>-) <br>-{ <br>- return RTEMS_SUCCESSFUL; <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/include/bsp.h b/c/src/lib/libbsp/m68k/mvme136/include/bsp.h <br>deleted file mode 100644 <br>index 3ea2101..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/include/bsp.h <br>+++ /dev/null <br>@@ -1,81 +0,0 @@ <br>-/* <br>- * This include file contains all MVME136 board IO definitions. <br>- */ <br>- <br>-/* <br>- * COPYRIGHT (c) 1989-2014. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#ifndef LIBBSP_M68K_MVME136_BSP_H <br>-#define LIBBSP_M68K_MVME136_BSP_H <br>- <br>-#include <bspopts.h> <br>-#include <bsp/default-initial-extension.h> <br>- <br>-#include <rtems.h> <br>-#include <rtems/clockdrv.h> <br>-#include <rtems/console.h> <br>-#include <rtems/iosupp.h> <br>- <br>-#ifdef __cplusplus <br>-extern "C" { <br>-#endif <br>- <br>-/* Constants */ <br>- <br>-#define RAM_START 0 <br>-#define RAM_END 0x100000 <br>- <br>-#define M681ADDR 0xfffb0040 /* address of the M68681 chip */ <br>-#define RXRDYB 0x01 /* status reg recv ready mask */ <br>-#define TXRDYB 0x04 /* status reg trans ready mask */ <br>-#define PARITYERR 0x20 /* status reg parity error mask */ <br>-#define FRAMEERR 0x40 /* status reg frame error mask */ <br>- <br>-#define FOREVER 1 /* infinite loop */ <br>- <br>-/* Structures */ <br>- <br>-struct r_m681_info { <br>- char fill1[ 5 ]; /* channel A regs ( not used ) */ <br>- char isr; /* interrupt status reg */ <br>- char fill2[ 2 ]; /* counter regs (not used) */ <br>- char mr1mr2b; /* MR1B and MR2B regs */ <br>- char srb; /* status reg channel B */ <br>- char fill3; /* do not access */ <br>- char rbb; /* receive buffer channel B */ <br>- char ivr; /* interrupt vector register */ <br>-}; <br>- <br>-struct w_m681_info { <br>- char fill1[ 4 ]; /* channel A regs (not used) */ <br>- char acr; /* auxillary control reg */ <br>- char imr; /* interrupt mask reg */ <br>- char fill2[ 2 ]; /* counter regs (not used) */ <br>- char mr1mr2b; /* MR1B and MR2B regs */ <br>- char csrb; /* clock select reg */ <br>- char crb; /* command reg */ <br>- char tbb; /* transmit buffer channel B */ <br>- char ivr; /* interrupt vector register */ <br>-}; <br>- <br>-extern rtems_isr_entry M68Kvec[]; /* vector table address */ <br>- <br>-/* functions */ <br>- <br>-rtems_isr_entry set_vector( <br>- rtems_isr_entry handle, <br>- rtems_vector_number vector, <br>- int type <br>-); <br>- <br>-#ifdef __cplusplus <br>-} <br>-#endif <br>- <br>-#endif <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/include/coverhd.h b/c/src/lib/libbsp/m68k/mvme136/include/coverhd.h <br>deleted file mode 100644 <br>index 025b9cd..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/include/coverhd.h <br>+++ /dev/null <br>@@ -1,106 +0,0 @@ <br>-/** <br>- * @file <br>- * @ingroup m68k_mvme136 <br>- * @brief C Overhead definitions <br>- */ <br>- <br>-/* <br>- * <br>- * This include file has defines to represent the overhead associated <br>- * with calling a particular directive from C on this target. <br>- * <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#ifndef __COVERHD_h <br>-#define __COVERHD_h <br>- <br>-#ifdef __cplusplus <br>-extern "C" { <br>-#endif <br>- <br>-#define CALLING_OVERHEAD_INITIALIZE_EXECUTIVE 2 <br>-#define CALLING_OVERHEAD_SHUTDOWN_EXECUTIVE 1 <br>-#define CALLING_OVERHEAD_TASK_CREATE 3 <br>-#define CALLING_OVERHEAD_TASK_IDENT 2 <br>-#define CALLING_OVERHEAD_TASK_START 2 <br>-#define CALLING_OVERHEAD_TASK_RESTART 2 <br>-#define CALLING_OVERHEAD_TASK_DELETE 1 <br>-#define CALLING_OVERHEAD_TASK_SUSPEND 1 <br>-#define CALLING_OVERHEAD_TASK_RESUME 2 <br>-#define CALLING_OVERHEAD_TASK_SET_PRIORITY 2 <br>-#define CALLING_OVERHEAD_TASK_MODE 2 <br>-#define CALLING_OVERHEAD_TASK_GET_NOTE 2 <br>-#define CALLING_OVERHEAD_TASK_SET_NOTE 2 <br>-#define CALLING_OVERHEAD_TASK_WAKE_WHEN 4 <br>-#define CALLING_OVERHEAD_TASK_WAKE_AFTER 1 <br>-#define CALLING_OVERHEAD_INTERRUPT_CATCH 2 <br>-#define CALLING_OVERHEAD_CLOCK_GET 5 <br>-#define CALLING_OVERHEAD_CLOCK_SET 4 <br>-#define CALLING_OVERHEAD_CLOCK_TICK 1 <br>- <br>-#define CALLING_OVERHEAD_TIMER_CREATE 2 <br>-#define CALLING_OVERHEAD_TIMER_IDENT 1 <br>-#define CALLING_OVERHEAD_TIMER_DELETE 2 <br>-#define CALLING_OVERHEAD_TIMER_FIRE_AFTER 2 <br>-#define CALLING_OVERHEAD_TIMER_FIRE_WHEN 5 <br>-#define CALLING_OVERHEAD_TIMER_RESET 1 <br>-#define CALLING_OVERHEAD_TIMER_CANCEL 1 <br>-#define CALLING_OVERHEAD_SEMAPHORE_CREATE 3 <br>-#define CALLING_OVERHEAD_SEMAPHORE_DELETE 1 <br>-#define CALLING_OVERHEAD_SEMAPHORE_IDENT 2 <br>-#define CALLING_OVERHEAD_SEMAPHORE_OBTAIN 2 <br>-#define CALLING_OVERHEAD_SEMAPHORE_RELEASE 1 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_CREATE 2 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_IDENT 2 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_DELETE 1 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_SEND 2 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_URGENT 2 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_BROADCAST 2 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_RECEIVE 3 <br>-#define CALLING_OVERHEAD_MESSAGE_QUEUE_FLUSH 2 <br>- <br>-#define CALLING_OVERHEAD_EVENT_SEND 2 <br>-#define CALLING_OVERHEAD_EVENT_RECEIVE 2 <br>-#define CALLING_OVERHEAD_SIGNAL_CATCH 2 <br>-#define CALLING_OVERHEAD_SIGNAL_SEND 2 <br>-#define CALLING_OVERHEAD_PARTITION_CREATE 3 <br>-#define CALLING_OVERHEAD_PARTITION_IDENT 2 <br>-#define CALLING_OVERHEAD_PARTITION_DELETE 1 <br>-#define CALLING_OVERHEAD_PARTITION_GET_BUFFER 2 <br>-#define CALLING_OVERHEAD_PARTITION_RETURN_BUFFER 2 <br>-#define CALLING_OVERHEAD_REGION_CREATE 3 <br>-#define CALLING_OVERHEAD_REGION_IDENT 2 <br>-#define CALLING_OVERHEAD_REGION_DELETE 2 <br>-#define CALLING_OVERHEAD_REGION_GET_SEGMENT 3 <br>-#define CALLING_OVERHEAD_REGION_RETURN_SEGMENT 2 <br>-#define CALLING_OVERHEAD_PORT_CREATE 3 <br>-#define CALLING_OVERHEAD_PORT_IDENT 2 <br>-#define CALLING_OVERHEAD_PORT_DELETE 1 <br>-#define CALLING_OVERHEAD_PORT_EXTERNAL_TO_INTERNAL 2 <br>-#define CALLING_OVERHEAD_PORT_INTERNAL_TO_EXTERNAL 2 <br>- <br>-#define CALLING_OVERHEAD_IO_INITIALIZE 2 <br>-#define CALLING_OVERHEAD_IO_OPEN 2 <br>-#define CALLING_OVERHEAD_IO_CLOSE 3 <br>-#define CALLING_OVERHEAD_IO_READ 2 <br>-#define CALLING_OVERHEAD_IO_WRITE 2 <br>-#define CALLING_OVERHEAD_IO_CONTROL 2 <br>-#define CALLING_OVERHEAD_FATAL_ERROR_OCCURRED 1 <br>-#define CALLING_OVERHEAD_RATE_MONOTONIC_CREATE 2 <br>-#define CALLING_OVERHEAD_RATE_MONOTONIC_IDENT 2 <br>-#define CALLING_OVERHEAD_RATE_MONOTONIC_DELETE 1 <br>-#define CALLING_OVERHEAD_RATE_MONOTONIC_CANCEL 1 <br>-#define CALLING_OVERHEAD_RATE_MONOTONIC_PERIOD 2 <br>-#define CALLING_OVERHEAD_MULTIPROCESSING_ANNOUNCE 1 <br>- <br>-#ifdef __cplusplus <br>-} <br>-#endif <br>- <br>-#endif <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/include/tm27.h b/c/src/lib/libbsp/m68k/mvme136/include/tm27.h <br>deleted file mode 100644 <br>index 66771bf..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/include/tm27.h <br>+++ /dev/null <br>@@ -1,36 +0,0 @@ <br>-/* <br>- * @file <br>- * @ingroup m68k_mvme136 <br>- * @brief Implementations for interrupt mechanisms for Time Test 27 <br>- */ <br>- <br>-/* <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#ifndef _RTEMS_TMTEST27 <br>-#error "This is an RTEMS internal file you must not include directly." <br>-#endif <br>- <br>-#ifndef __tm27_h <br>-#define __tm27_h <br>- <br>-/* <br>- * Define the interrupt mechanism for Time Test 27 <br>- * <br>- * NOTE: Use the MPCSR vector for the MVME136 <br>- */ <br>- <br>-#define MUST_WAIT_FOR_INTERRUPT 0 <br>- <br>-#define Install_tm27_vector( handler ) set_vector( (handler), 75, 1 ) <br>- <br>-#define Cause_tm27_intr() (*(volatile uint8_t*)0xfffb006b) = 0x80 <br>- <br>-#define Clear_tm27_intr() (*(volatile uint8_t*)0xfffb006b) = 0x00 <br>- <br>-#define Lower_tm27_intr() /* empty */ <br>- <br>-#endif <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136-testsuite.tcfg b/c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136-testsuite.tcfg <br>deleted file mode 100644 <br>index e8bff63..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136-testsuite.tcfg <br>+++ /dev/null <br>@@ -1,7 +0,0 @@ <br>-# <br>-# mvme136 RTEMS Test Database <br>-# <br>-# Format is one line per test that is _NOT_ built. <br>-# <br>- <br>-fsdosfsname01 <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136.cfg b/c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136.cfg <br>deleted file mode 100644 <br>index c90a7a3..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/make/custom/mvme136.cfg <br>+++ /dev/null <br>@@ -1,26 +0,0 @@ <br>-# <br>-# Config file for the mvme136 BSP <br>-# <br>- <br>-include $(RTEMS_ROOT)/make/custom/default.cfg <br>- <br>-RTEMS_CPU=m68k <br>-RTEMS_CPU_MODEL=m68020 <br>- <br>-# <br>-# This contains the compiler options necessary to select the CPU model <br>-# and (hopefully) optimize for it. <br>-# <br>-CPU_CFLAGS = -mcpu=68020 <br>- <br>-# optimize flag: typically -O2 <br>-CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer <br>- <br>-define bsp-post-link <br>- $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec <br>- sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ <br>- $(PACKHEX) > $(basename $@)$(DOWNEXT) <br>- rm -f $(basename $@).srec <br>- $(default-bsp-post-link) <br>-endef <br>- <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/preinstall.am b/c/src/lib/libbsp/m68k/mvme136/preinstall.am <br>deleted file mode 100644 <br>index 4f605dc..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/preinstall.am <br>+++ /dev/null <br>@@ -1,76 +0,0 @@ <br>-## Automatically generated by ampolish3 - Do not edit <br>- <br>-if AMPOLISH3 <br>-$(srcdir)/preinstall.am: Makefile.am <br>- $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am <br>-endif <br>- <br>-PREINSTALL_DIRS = <br>-DISTCLEANFILES += $(PREINSTALL_DIRS) <br>- <br>-all-am: $(PREINSTALL_FILES) <br>- <br>-PREINSTALL_FILES = <br>-CLEANFILES = $(PREINSTALL_FILES) <br>- <br>-all-local: $(TMPINSTALL_FILES) <br>- <br>-TMPINSTALL_FILES = <br>-CLEANFILES += $(TMPINSTALL_FILES) <br>- <br>-$(PROJECT_LIB)/$(dirstamp): <br>- @$(MKDIR_P) $(PROJECT_LIB) <br>- @: > $(PROJECT_LIB)/$(dirstamp) <br>-PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp) <br>- <br>-$(PROJECT_INCLUDE)/$(dirstamp): <br>- @$(MKDIR_P) $(PROJECT_INCLUDE) <br>- @: > $(PROJECT_INCLUDE)/$(dirstamp) <br>-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp) <br>- <br>-$(PROJECT_INCLUDE)/bsp/$(dirstamp): <br>- @$(MKDIR_P) $(PROJECT_INCLUDE)/bsp <br>- @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp) <br>-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/bsp/$(dirstamp) <br>- <br>-$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs <br>-PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs <br>- <br>-$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h <br>-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h <br>- <br>-$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h <br>-PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h <br>- <br>-$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h <br>-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h <br>- <br>-$(PROJECT_INCLUDE)/bsp/bootcard.h: ../../shared/include/bootcard.h $(PROJECT_INCLUDE)/bsp/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bootcard.h <br>-PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bootcard.h <br>- <br>-$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h <br>-PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h <br>- <br>-$(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp): <br>- @$(MKDIR_P) $(PROJECT_INCLUDE)/rtems/zilog <br>- @: > $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp) <br>-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp) <br>- <br>-$(PROJECT_INCLUDE)/rtems/zilog/z8036.h: ../../shared/include/zilog/z8036.h $(PROJECT_INCLUDE)/rtems/zilog/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/zilog/z8036.h <br>-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/zilog/z8036.h <br>- <br>-$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT) <br>-TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT) <br>- <br>-$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp) <br>- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds <br>-PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds <br>- <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/shmsupp/addrconv.c b/c/src/lib/libbsp/m68k/mvme136/shmsupp/addrconv.c <br>deleted file mode 100644 <br>index 82ad28b..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/shmsupp/addrconv.c <br>+++ /dev/null <br>@@ -1,29 +0,0 @@ <br>-/* Shm_Convert_address <br>- * <br>- * This MVME136 has a "normal" view of the VME address space. <br>- * No address range conversion is required. <br>- * <br>- * Input parameters: <br>- * address - address to convert <br>- * <br>- * Output parameters: <br>- * returns - converted address <br>- * <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <rtems.h> <br>-#include <bsp.h> <br>-#include <shm_driver.h> <br>- <br>-void *Shm_Convert_address( <br>- void *address <br>-) <br>-{ <br>- return ( address ); <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/shmsupp/getcfg.c b/c/src/lib/libbsp/m68k/mvme136/shmsupp/getcfg.c <br>deleted file mode 100644 <br>index 7057369..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/shmsupp/getcfg.c <br>+++ /dev/null <br>@@ -1,82 +0,0 @@ <br>-/* void Shm_Get_configuration( localnode, &shmcfg ) <br>- * <br>- * This routine initializes, if necessary, and returns a pointer <br>- * to the Shared Memory Configuration Table for the Cyclone CVME961. <br>- * <br>- * INPUT PARAMETERS: <br>- * localnode - local node number <br>- * shmcfg - address of pointer to SHM Config Table <br>- * <br>- * OUTPUT PARAMETERS: <br>- * *shmcfg - pointer to SHM Config Table <br>- * <br>- * NOTES: The MPCSR interrupt on the MVME136 is used as an interprocessor <br>- * interrupt. The capablities of the MPCSR are used to generate <br>- * interprocessor interrupts for up to eight nodes. <br>- * <br>- * The following table illustrates the configuration limitations: <br>- * <br>- * BUS MAX <br>- * MODE ENDIAN NODES <br>- * ========= ====== ======= <br>- * POLLED LITTLE 2+ <br>- * INTERRUPT LITTLE 2-8 <br>- * <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <rtems.h> <br>-#include "shm_driver.h" <br>- <br>-#define INTERRUPT 1 /* MVME136 target supports both */ <br>-#define POLLING 0 /* polling and interrupt modes */ <br>- <br>-shm_config_table BSP_shm_cfgtbl; <br>- <br>-uint32_t *BSP_int_address() <br>-{ <br>- uint32_t id, offset; <br>- <br>- id = (uint32_t) *(uint8_t*)0xfffb0061; <br>- offset = ((id & 0x1f) << 5) | ((id & 0xe0) << 8); <br>- offset |= 0xffff000b; <br>- return( (uint32_t * ) offset ); <br>-} <br>- <br>-void Shm_Get_configuration( <br>- uint32_t localnode, <br>- shm_config_table **shmcfg <br>-) <br>-{ <br>- BSP_shm_cfgtbl.base = (uint32_t*)0x20000000; <br>- BSP_shm_cfgtbl.length = 1 * MEGABYTE; <br>- BSP_shm_cfgtbl.format = SHM_BIG; <br>- <br>- BSP_shm_cfgtbl.cause_intr = Shm_Cause_interrupt; <br>- <br>-#ifdef NEUTRAL_BIG <br>- BSP_shm_cfgtbl.convert = NULL_CONVERT; <br>-#else <br>- BSP_shm_cfgtbl.convert = CPU_swap_u32; <br>-#endif <br>- <br>-#if (POLLING==1) <br>- BSP_shm_cfgtbl.poll_intr = POLLED_MODE; <br>- BSP_shm_cfgtbl.Intr.address = NO_INTERRUPT; <br>- BSP_shm_cfgtbl.Intr.value = NO_INTERRUPT; <br>- BSP_shm_cfgtbl.Intr.length = NO_INTERRUPT; <br>-#else <br>- BSP_shm_cfgtbl.poll_intr = INTR_MODE; <br>- BSP_shm_cfgtbl.Intr.address = BSP_int_address(); <br>- BSP_shm_cfgtbl.Intr.value = 0x80; <br>- BSP_shm_cfgtbl.Intr.length = BYTE; <br>-#endif <br>- <br>- *shmcfg = &BSP_shm_cfgtbl; <br>- <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c b/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c <br>deleted file mode 100644 <br>index 129de01..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/shmsupp/lock.c <br>+++ /dev/null <br>@@ -1,71 +0,0 @@ <br>-/* Shared Memory Lock Routines <br>- * <br>- * This shared memory locked queue support routine need to be <br>- * able to lock the specified locked queue. Interrupts are <br>- * disabled while the queue is locked to prevent preemption <br>- * and deadlock when two tasks poll for the same lock. <br>- * previous level. <br>- * <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <rtems.h> <br>-#include <bsp.h> <br>-#include <shm_driver.h> <br>- <br>-/* <br>- * Shm_Initialize_lock <br>- * <br>- * Initialize the lock for the specified locked queue. <br>- */ <br>- <br>-void Shm_Initialize_lock( <br>- Shm_Locked_queue_Control *lq_cb <br>-) <br>-{ <br>- lq_cb->lock = LQ_UNLOCKED; <br>-} <br>- <br>-/* void _Shm_Lock( &lq_cb ) <br>- * <br>- * This shared memory locked queue support routine locks the <br>- * specified locked queue. It disables interrupts to prevent <br>- * a deadlock condition. <br>- */ <br>- <br>-void Shm_Lock( <br>- Shm_Locked_queue_Control *lq_cb <br>-) <br>-{ <br>- uint32_t isr_level; <br>- uint32_t *lockptr = (uint32_t*)&lq_cb->lock; <br>- <br>- rtems_interrupt_disable( isr_level ); <br>- Shm_isrstat = isr_level; <br>- __asm__ volatile( "lockit:" : : ); <br>- __asm__ volatile( "tas %0@" : "=a" (lockptr) : "0" (lockptr) ); <br>- __asm__ volatile( "bne lockit" : : ); <br>-/* should delay */ <br>-} <br>- <br>-/* <br>- * Shm_Unlock <br>- * <br>- * Unlock the lock for the specified locked queue. <br>- */ <br>- <br>-void Shm_Unlock( <br>- Shm_Locked_queue_Control *lq_cb <br>-) <br>-{ <br>- uint32_t isr_level; <br>- <br>- lq_cb->lock = SHM_UNLOCK_VALUE; <br>- isr_level = Shm_isrstat; <br>- rtems_interrupt_enable( isr_level ); <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c b/c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c <br>deleted file mode 100644 <br>index 0788378..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/shmsupp/mpisr.c <br>+++ /dev/null <br>@@ -1,39 +0,0 @@ <br>-/* Shm_isr_mvme136() <br>- * <br>- * NOTE: This routine is not used when in polling mode. Either <br>- * this routine OR Shm_clockisr is used in a particular system. <br>- * <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <rtems.h> <br>-#include <bsp.h> <br>-#include <shm_driver.h> <br>- <br>-rtems_isr Shm_isr_mvme136() <br>-{ <br>- Shm_Interrupt_count += 1; <br>- rtems_multiprocessing_announce(); <br>- (*(volatile uint8_t*)0xfffb006b) = 0; /* clear MPCSR intr */ <br>-} <br>- <br>-/* void _Shm_setvec( ) <br>- * <br>- * This driver routine sets the SHM interrupt vector to point to the <br>- * driver's SHM interrupt service routine. <br>- * <br>- * Input parameters: NONE <br>- * <br>- * Output parameters: NONE <br>- */ <br>- <br>-void Shm_setvec() <br>-{ <br>- /* may need to disable intr */ <br>- set_vector( Shm_isr_mvme136, 75, 1 ); <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c <br>deleted file mode 100644 <br>index 5d968b8..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c <br>+++ /dev/null <br>@@ -1,46 +0,0 @@ <br>-/* <br>- * This routine returns control to 135Bug. <br>- * <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <bsp.h> <br>-#include <bsp/bootcard.h> <br>-#include <rtems/zilog/z8036.h> <br>- <br>-void start(void); <br>- <br>-static rtems_isr bsp_return_to_monitor_trap(rtems_vector_number ignored) <br>-{ <br>- register volatile void *start_addr; <br>- <br>- m68k_set_vbr( 0 ); /* restore 135Bug vectors */ <br>- __asm__ volatile( "trap #15" ); /* trap to 135Bug */ <br>- __asm__ volatile( ".short 0x63" ); /* return to 135Bug (.RETURN) */ <br>- /* restart program */ <br>- start_addr = start; <br>- <br>- __asm__ volatile ( "jmp %0@" : "=a" (start_addr) : "0" (start_addr) ); <br>-} <br>- <br>-#define TIMER 0xfffb0000 <br>- <br>-void bsp_fatal_extension( <br>- rtems_fatal_source source, <br>- bool is_internal, <br>- rtems_fatal_code error <br>-) <br>-{ <br>- Z8x36_WRITE( TIMER, MASTER_INTR, 0x62 ); /* redo timer */ <br>- Z8x36_WRITE( TIMER, CT1_MODE_SPEC, 0x00 ); <br>- Z8x36_WRITE( TIMER, MASTER_CFG, 0xf4 ); <br>- Z8x36_WRITE( TIMER, CT1_CMD_STATUS, 0x00 ); <br>- <br>- M68Kvec[ 45 ] = bsp_return_to_monitor_trap; /* install handler */ <br>- __asm__ volatile( "trap #13" ); /* insures SUPV mode */ <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c <br>deleted file mode 100644 <br>index 04d073d..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c <br>+++ /dev/null <br>@@ -1,39 +0,0 @@ <br>-/* <br>- * This routine does the bulk of the system initialization. <br>- */ <br>- <br>-/* <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <bsp.h> <br>-#include <bsp/bootcard.h> <br>-#include <rtems/zilog/z8036.h> <br>- <br>-void bsp_start( void ) <br>-{ <br>- rtems_isr_entry *monitors_vector_table; <br>- int index; <br>- <br>- monitors_vector_table = (rtems_isr_entry *)0; /* 135Bug Vectors are at 0 */ <br>- m68k_set_vbr( monitors_vector_table ); <br>- <br>- for ( index=2 ; index<=255 ; index++ ) <br>- M68Kvec[ index ] = monitors_vector_table[ 32 ]; <br>- <br>- M68Kvec[ 2 ] = monitors_vector_table[ 2 ]; /* bus error vector */ <br>- M68Kvec[ 4 ] = monitors_vector_table[ 4 ]; /* breakpoints vector */ <br>- M68Kvec[ 9 ] = monitors_vector_table[ 9 ]; /* trace vector */ <br>- M68Kvec[ 47 ] = monitors_vector_table[ 47 ]; /* system call vector */ <br>- <br>- m68k_set_vbr( &M68Kvec ); <br>- <br>- (*(uint8_t*)0xfffb0067) = 0x7f; /* make VME access round-robin */ <br>- <br>- rtems_cache_enable_instruction(); <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds b/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds <br>deleted file mode 100644 <br>index ad4cba6..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds <br>+++ /dev/null <br>@@ -1,199 +0,0 @@ <br>-/* <br>- * This file contains directives for the GNU linker which are specific <br>- * to the Motorola MVME136/MVME135 boards. <br>- * <br>- * COPYRIGHT (c) 1989-2007. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-/* <br>- * Declare some sizes. <br>- */ <br>-RamBase = DEFINED(RamBase) ? RamBase : 0x0; <br>-RamSize = DEFINED(RamSize) ? RamSize : 1M; <br>-HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; <br>-_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000; <br>- <br>-MEMORY <br>-{ <br>- ram : org = 0x0, l = 1M <br>-} <br>- <br>-SECTIONS <br>-{ <br>- ram : { <br>- . = 0x3000; <br>- } >ram <br>- <br>- /* <br>- * Text, data and bss segments <br>- */ <br>- .text : { <br>- *(.text*) <br>- <br>- /* <br>- * C++ constructors/destructors <br>- * <br>- * Various files can provide initialization and finalization <br>- * functions. crtbegin.o and crtend.o are two instances. The <br>- * body of these functions are in .init and .fini sections. We <br>- * accumulate the bodies here, and prepend function prologues <br>- * from crti.o and function epilogues from crtn.o. crti.o must <br>- * be linked first; crtn.o must be linked last. Because these <br>- * are wildcards, it doesn't matter if the user does not <br>- * actually link against crti.o and crtn.o; the linker won't <br>- * look for a file to match a wildcard. The wildcard also <br>- * means that it doesn't matter which directory crti.o and <br>- * crtn.o are in. <br>- */ <br>- *(.gnu.linkonce.t.*) <br>- <br>- /* <br>- * Initialization and finalization code. <br>- * <br>- * gcc uses crtbegin.o to find the start of the constructors <br>- * and destructors so we make sure it is first. Because this <br>- * is a wildcard, it doesn't matter if the user does not <br>- * actually link against crtbegin.o; the linker won't look for <br>- * a file to match a wildcard. The wildcard also means that <br>- * it doesn't matter which directory crtbegin.o is in. The <br>- * constructor and destructor list are terminated in <br>- * crtend.o. The same comments apply to it. <br>- */ <br>- PROVIDE (_init = .); <br>- *crti.o(.init) <br>- *(.init) <br>- *crtn.o(.init) <br>- PROVIDE (_fini = .); <br>- *crti.o(.fini) <br>- *(.fini) <br>- *crtn.o(.fini) <br>- <br>- /* <br>- * Special FreeBSD sysctl sections. <br>- */ <br>- . = ALIGN (16); <br>- __start_set_sysctl_set = .; <br>- *(set_sysctl_*); <br>- __stop_set_sysctl_set = ABSOLUTE(.); <br>- *(set_domain_*); <br>- *(set_pseudo_*); <br>- <br>- /* <br>- * C++ constructors/destructors <br>- */ <br>- . = ALIGN (16); <br>- *crtbegin.o(.ctors) <br>- *(.ctors) <br>- *crtend.o(.ctors) <br>- *crtbegin.o(.dtors) <br>- *(.dtors) <br>- *crtend.o(.dtors) <br>- <br>- /* <br>- * Exception frame info <br>- */ <br>- . = ALIGN (16); <br>- *(.eh_frame) <br>- <br>- /* <br>- * Read-only data <br>- */ <br>- . = ALIGN (16); <br>- _rodata_start = .; <br>- *(.rodata*) <br>- *(.gnu.linkonce.r*) <br>- <br>- . = ALIGN (16); <br>- PROVIDE (_etext = .); <br>- } >ram <br>- <br>- .tdata : { <br>- _TLS_Data_begin = .; <br>- *(.tdata .tdata.* .gnu.linkonce.td.*) <br>- _TLS_Data_end = .; <br>- } >ram <br>- <br>- .tbss : { <br>- _TLS_BSS_begin = .; <br>- *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) <br>- _TLS_BSS_end = .; <br>- } >ram <br>- <br>- _TLS_Data_size = _TLS_Data_end - _TLS_Data_begin; <br>- _TLS_Data_begin = _TLS_Data_size != 0 ? _TLS_Data_begin : _TLS_BSS_begin; <br>- _TLS_Data_end = _TLS_Data_size != 0 ? _TLS_Data_end : _TLS_BSS_begin; <br>- _TLS_BSS_size = _TLS_BSS_end - _TLS_BSS_begin; <br>- _TLS_Size = _TLS_BSS_end - _TLS_Data_begin; <br>- _TLS_Alignment = MAX (ALIGNOF (.tdata), ALIGNOF (.tbss)); <br>- <br>- .data : { <br>- PROVIDE (_copy_start = .); <br>- *(.data*) <br>- *(.gnu.linkonce.d*) <br>- *(.gcc_except_table*) <br>- *(.jcr) <br>- . = ALIGN (16); <br>- PROVIDE (_edata = .); <br>- PROVIDE (_copy_end = .); <br>- } >ram <br>- .bss : { <br>- _clear_start = .; <br>- *(.dynbss) <br>- *(.bss* .gnu.linkonce.b.*) <br>- *(COMMON) <br>- . = ALIGN (16); <br>- PROVIDE (end = .); <br>- <br>- . += _StackSize; <br>- . = ALIGN (16); <br>- _stack_init = .; <br>- _clear_end = .; <br>- <br>- WorkAreaBase = .; <br>- } >ram <br>- <br>- /* Stabs debugging sections. */ <br>- .stab 0 : { *(.stab) } <br>- .stabstr 0 : { *(.stabstr) } <br>- .stab.excl 0 : { *(.stab.excl) } <br>- .stab.exclstr 0 : { *(.stab.exclstr) } <br>- .stab.index 0 : { *(.stab.index) } <br>- .stab.indexstr 0 : { *(.stab.indexstr) } <br>- .comment 0 : { *(.comment) } <br>- <br>- /* DWARF debug sections. <br>- Symbols in the DWARF debugging sections are relative to the beginning <br>- of the section so we begin them at 0. */ <br>- /* DWARF 1 */ <br>- .debug 0 : { *(.debug) } <br>- .line 0 : { *(.line) } <br>- <br>- /* GNU DWARF 1 extensions */ <br>- .debug_srcinfo 0 : { *(.debug_srcinfo) } <br>- .debug_sfnames 0 : { *(.debug_sfnames) } <br>- <br>- /* DWARF 1.1 and DWARF 2 */ <br>- .debug_aranges 0 : { *(.debug_aranges) } <br>- .debug_pubnames 0 : { *(.debug_pubnames) } <br>- <br>- /* DWARF 2 */ <br>- .debug_info 0 : { *(.debug_info) } <br>- .debug_abbrev 0 : { *(.debug_abbrev) } <br>- .debug_line 0 : { *(.debug_line) } <br>- .debug_frame 0 : { *(.debug_frame) } <br>- .debug_str 0 : { *(.debug_str) } <br>- .debug_loc 0 : { *(.debug_loc) } <br>- .debug_macinfo 0 : { *(.debug_macinfo) } <br>- <br>- /* SGI/MIPS DWARF 2 extensions */ <br>- .debug_weaknames 0 : { *(.debug_weaknames) } <br>- .debug_funcnames 0 : { *(.debug_funcnames) } <br>- .debug_typenames 0 : { *(.debug_typenames) } <br>- .debug_varnames 0 : { *(.debug_varnames) } <br>- /* These must appear regardless of . */ <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/timer/timer.c b/c/src/lib/libbsp/m68k/mvme136/timer/timer.c <br>deleted file mode 100644 <br>index a9bf322..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/timer/timer.c <br>+++ /dev/null <br>@@ -1,85 +0,0 @@ <br>-/* <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <rtems/btimer.h> <br>-#include <bsp.h> <br>-#include <rtems/zilog/z8036.h> <br>- <br>-#define TIMER 0xfffb0000 /* address of Z8036 on MVME136 */ <br>- <br>-int Ttimer_val; <br>-bool benchmark_timer_find_average_overhead; <br>- <br>-rtems_isr timerisr(rtems_vector_number); <br>- <br>-void benchmark_timer_initialize(void) <br>-{ <br>- (void) set_vector( timerisr, 66, 0 ); /* install ISR */ <br>- <br>- Ttimer_val = 0; /* clear timer ISR count */ <br>- Z8x36_WRITE( TIMER, MASTER_INTR, 0x01 ); /* reset */ <br>- Z8x36_WRITE( TIMER, MASTER_INTR, 0x00 ); /* clear reset */ <br>- Z8x36_WRITE( TIMER, MASTER_INTR, 0xe2 ); /* disable lower chain, no vec */ <br>- /* set right justified addr */ <br>- /* and master int enable */ <br>- Z8x36_WRITE( TIMER, CT1_MODE_SPEC, 0x80 ); /* T1 continuous, and */ <br>- /* cycle/pulse output */ <br>- <br>- *((uint16_t*)0xfffb0016) = 0x0000; /* write countdown value */ <br>-/* <br>- Z8x36_WRITE( TIMER, CT1_TIME_CONST_MSB, 0x00 ); <br>- Z8x36_WRITE( TIMER, CT1_TIME_CONST_LSB, 0x00 ); <br>-*/ <br>- Z8x36_WRITE( TIMER, MASTER_CFG, 0xc4 ); /* enable timer1 */ <br>- <br>- Z8x36_WRITE( TIMER, CT1_CMD_STATUS, 0xc6 ); /* set INTR enable (IE), */ <br>- /* trigger command */ <br>- /* (TCB) and gate */ <br>- /* command (GCB) bits */ <br>- *((uint8_t*)0xfffb0038) &= 0xfd; /* enable timer INTR on */ <br>- /* VME controller */ <br>-} <br>- <br>-#define AVG_OVERHEAD 6 /* It typically takes 3.0 microseconds */ <br>- /* (6 countdowns) to start/stop the timer. */ <br>-#define LEAST_VALID 10 /* Don't trust a value lower than this */ <br>- <br>-benchmark_timer_t benchmark_timer_read(void) <br>-{ <br>-/* <br>- uint8_t msb, lsb; <br>-*/ <br>- uint32_t remaining, total; <br>- <br>- Z8x36_WRITE( TIMER, CT1_CMD_STATUS, 0xce ); /* read the counter value */ <br>-remaining = 0xffff - *((uint16_t*) 0xfffb0010); <br>-/* <br>- Z8x36_READ( TIMER, CT1_CUR_CNT_MSB, msb ); <br>- Z8x36_READ( TIMER, CT1_CUR_CNT_LSB, lsb ); <br>- <br>- remaining = 0xffff - ((msb << 8) + lsb); <br>-*/ <br>- total = (Ttimer_val * 0x10000) + remaining; <br>- <br>- if ( benchmark_timer_find_average_overhead == true ) <br>- return total; /* in one-half microsecond units */ <br>- <br>- else { <br>- if ( total < LEAST_VALID ) <br>- return 0; /* below timer resolution */ <br>- return (total-AVG_OVERHEAD) >> 1; <br>- } <br>-} <br>- <br>-void benchmark_timer_disable_subtracting_average_overhead( <br>- bool find_flag <br>-) <br>-{ <br>- benchmark_timer_find_average_overhead = find_flag; <br>-} <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/timer/timerisr.S b/c/src/lib/libbsp/m68k/mvme136/timer/timerisr.S <br>deleted file mode 100644 <br>index dda8770..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/timer/timerisr.S <br>+++ /dev/null <br>@@ -1,36 +0,0 @@ <br>-/* timer_isr() <br>- * <br>- * This routine provides the ISR for the Z8036 timer on the MVME136 <br>- * board. The timer is set up to generate an interrupt at maximum <br>- * intervals. <br>- * <br>- * Input parameters: NONE <br>- * <br>- * Output parameters: NONE <br>- * <br>- * COPYRIGHT (c) 1989-1999. <br>- * On-Line Applications Research Corporation (OAR). <br>- * <br>- * The license and distribution terms for this file may be <br>- * found in the file LICENSE in this distribution or at <br>- * <a href="http://www.rtems.org/license/LICENSE" target="_blank">http://www.rtems.org/license/LICENSE</a>. <br>- */ <br>- <br>-#include <rtems/asm.h> <br>- <br>-BEGIN_CODE <br>- <br>-.set CT1_CMD_STATUS, 0xfffb000a | port A <br>-.set RELOAD, 0x24 | clr IP & IUS,allow countdown <br>- <br>- PUBLIC (timerisr) <br>-SYM (timerisr): <br>- movl a0,a7@- | save a0 <br>- movl #CT1_CMD_STATUS,a0 | a0 = addr of cmd status reg <br>- movb #RELOAD,a0@ | reload countdown <br>- addql #1, SYM (Ttimer_val) | increment timer value <br>- movl a7@+,a0 | save a0 <br>- rte <br>- <br>-END_CODE <br>-END <br>diff --git a/c/src/lib/libbsp/m68k/mvme136/times b/c/src/lib/libbsp/m68k/mvme136/times <br>deleted file mode 100644 <br>index 527a3d2..0000000 <br>--- a/c/src/lib/libbsp/m68k/mvme136/times <br>+++ /dev/null <br>@@ -1,189 +0,0 @@ <br>-# <br>-# Timing Test Suite Results for the Motorola MVME136 BSP <br>-# <br>- <br>-Board: Motorola MVME136 <br>-CPU: Motorola MC68020 + MC68881 FPU <br>-Clock Speed: 20 Mhz <br>-Memory Configuration: DRAM w/no cache <br>-Wait States: 1 wait state <br>- <br>-Times Reported in: microseconds <br>-Timer Source: Zilog Z8036 <br>- <br>-Column A: 3.5.1 pre-release <br>-Column B: 3.5.17 pre-release <br>- <br>-# DESCRIPTION A B <br>-== ================================================================= ==== ==== <br>- 1 rtems_semaphore_create 67 60 <br>- rtems_semaphore_delete 64 58 <br>- rtems_semaphore_obtain: available 46 38 <br>- rtems_semaphore_obtain: not available -- NO_WAIT 45 38 <br>- rtems_semaphore_release: no waiting tasks 51 44 <br>- <br>- 2 rtems_semaphore_obtain: not available -- caller blocks 113 109 <br>- <br>- 3 rtems_semaphore_release: task readied -- preempts caller 94 87 <br>- <br>- 4 rtems_task_restart: blocked task -- preempts caller 152 149 <br>- rtems_task_restart: ready task -- preempts caller 145 142 <br>- rtems_semaphore_release: task readied -- returns to caller 71 66 <br>- rtems_task_create 154 148 <br>- rtems_task_start 82 76 <br>- rtems_task_restart: suspended task -- returns to caller 94 89 <br>- rtems_task_delete: suspended task 145 138 <br>- rtems_task_restart: ready task -- returns to caller 97 92 <br>- rtems_task_restart: blocked task -- returns to caller 128 124 <br>- rtems_task_delete: blocked task 149 143 <br>- <br>- 5 rtems_task_suspend: calling task 77 71 <br>- rtems_task_resume: task readied -- preempts caller 74 67 <br>- <br>- 6 rtems_task_restart: calling task 101 95 <br>- rtems_task_suspend: returns to caller 50 43 <br>- rtems_task_resume: task readied -- returns to caller 50 45 <br>- rtems_task_delete: ready task 151 144 <br>- <br>- 7 rtems_task_restart: suspended task -- preempts caller 130 125 <br>- <br>- 8 rtems_task_set_priority: obtain current priority 38 31 <br>- rtems_task_set_priority: returns to caller 71 64 <br>- rtems_task_mode: obtain current mode 16 14 <br>- rtems_task_mode: no reschedule 18 16 <br>- rtems_task_mode: reschedule -- returns to caller 24 23 <br>- rtems_task_mode: reschedule -- preempts caller 68 60 <br>- rtems_task_set_note 39 33 <br>- rtems_task_get_note 40 33 <br>- rtems_clock_set 93 86 <br>- rtems_clock_get 1 1 <br>- <br>- 9 rtems_message_queue_create 207 200 <br>- rtems_message_queue_send: no waiting tasks 103 97 <br>- rtems_message_queue_urgent: no waiting tasks 103 96 <br>- rtems_message_queue_receive: available 87 79 <br>- rtems_message_queue_flush: no messages flushed 36 29 <br>- rtems_message_queue_flush: messages flushed 46 39 <br>- rtems_message_queue_delete 85 80 <br>- <br>-10 rtems_message_queue_receive: not available -- NO_WAIT 51 43 <br>- rtems_message_queue_receive: not available -- caller blocks 115 114 <br>- <br>-11 rtems_message_queue_send: task readied -- preempts caller 129 123 <br>- <br>-12 rtems_message_queue_send: task readied -- returns to caller 107 101 <br>- <br>-13 rtems_message_queue_urgent: task readied -- preempts caller 130 123 <br>- <br>-14 rtems_message_queue_urgent: task readied -- returns to caller 107 101 <br>- <br>-15 rtems_event_receive: obtain current events 0 1 <br>- rtems_event_receive: not available -- NO_WAIT 33 23 <br>- rtems_event_receive: not available -- caller blocks 92 84 <br>- rtems_event_send: no task readied 34 24 <br>- rtems_event_receive: available 36 28 <br>- rtems_event_send: task readied -- returns to caller 67 60 <br>- <br>-16 rtems_event_send: task readied -- preempts caller 90 84 <br>- <br>-17 rtems_task_set_priority: preempts caller 110 106 <br>- <br>-18 rtems_task_delete: calling task 175 170 <br>- <br>-19 rtems_signal_catch 23 15 <br>- rtems_signal_send: returns to caller 43 37 <br>- rtems_signal_send: signal to self 52 55 <br>- exit ASR overhead: returns to calling task 37 37 <br>- exit ASR overhead: returns to preempting task 65 54 <br>- <br>-20 rtems_partition_create 77 70 <br>- rtems_region_create 70 63 <br>- rtems_partition_get_buffer: available 42 35 <br>- rtems_partition_get_buffer: not available 40 33 <br>- rtems_partition_return_buffer 50 43 <br>- rtems_partition_delete 47 42 <br>- rtems_region_get_segment: available 58 52 <br>- rtems_region_get_segment: not available -- NO_WAIT 55 49 <br>- rtems_region_return_segment: no waiting tasks 60 54 <br>- rtems_region_get_segment: not available -- caller blocks 126 123 <br>- rtems_region_return_segment: task readied -- preempts caller 143 136 <br>- rtems_region_return_segment: task readied -- returns to caller 120 114 <br>- rtems_region_delete 45 39 <br>- rtems_io_initialize 6 4 <br>- rtems_io_open 2 2 <br>- rtems_io_close 1 1 <br>- rtems_io_read 1 2 <br>- rtems_io_write 1 3 <br>- rtems_io_control 2 2 <br>- <br>-21 rtems_task_ident 353 350 <br>- rtems_message_queue_ident 344 341 <br>- rtems_semaphore_ident 369 367 <br>- rtems_partition_ident 344 341 <br>- rtems_region_ident 350 348 <br>- rtems_port_ident 343 340 <br>- rtems_timer_ident 345 343 <br>- rtems_rate_monotonic_ident 344 341 <br>- <br>-22 rtems_message_queue_broadcast: task readied -- returns to caller 115 111 <br>- rtems_message_queue_broadcast: no waiting tasks 60 53 <br>- rtems_message_queue_broadcast: task readied -- preempts caller 138 133 <br>- <br>-23 rtems_timer_create 37 28 <br>- rtems_timer_fire_after: inactive 66 58 <br>- rtems_timer_fire_after: active 70 61 <br>- rtems_timer_cancel: active 42 34 <br>- rtems_timer_cancel: inactive 39 31 <br>- rtems_timer_reset: inactive 60 54 <br>- rtems_timer_reset: active 65 58 <br>- rtems_timer_fire_when: inactive 96 88 <br>- rtems_timer_fire_when: active 96 88 <br>- rtems_timer_delete: active 55 47 <br>- rtems_timer_delete: inactive 51 47 <br>- rtems_task_wake_when 125 117 <br>- <br>-24 rtems_task_wake_after: yield -- returns to caller 26 16 <br>- rtems_task_wake_after: yields -- preempts caller 65 56 <br>- <br>-25 rtems_clock_tick 14 17 <br>- <br>-26 _ISR_Disable 0 0 <br>- _ISR_Flash 0 0 <br>- _ISR_Enable 0 0 <br>- _Thread_Disable_dispatch 0 0 <br>- _Thread_Enable_dispatch 19 11 <br>- _Thread_Set_state 24 24 <br>- _Thread_Disptach (NO FP) 50 43 <br>- context switch: no floating point contexts 41 35 <br>- context switch: self 9 9 <br>- context switch: to another task 9 10 <br>- context switch: restore 1st FP task 46 39 <br>- fp context switch: save idle, restore idle 75 68 <br>- fp context switch: save idle, restore initialized 66 66 <br>- fp context switch: save initialized, restore initialized 65 66 <br>- _Thread_Resume 18 19 <br>- _Thread_Unblock 18 19 <br>- _Thread_Ready 22 21 <br>- _Thread_Get 12 14 <br>- _Semaphore_Get 10 10 <br>- _Thread_Get: invalid id 2 2 <br>- <br>-27 interrupt entry overhead: returns to interrupted task 9 9 <br>- interrupt exit overhead: returns to interrupted task 8 8 <br>- interrupt entry overhead: returns to nested interrupt 14 12 <br>- interrupt exit overhead: returns to nested interrupt 0 0 <br>- interrupt entry overhead: returns to preempting task 8 9 <br>- interrupt exit overhead: returns to preempting task 62 54 <br>- <br>-28 rtems_port_create 44 35 <br>- rtems_port_external_to_internal 35 27 <br>- rtems_port_internal_to_external 34 26 <br>- rtems_port_delete 46 39 <br>- <br>-29 rtems_rate_monotonic_create 40 32 <br>- rtems_rate_monotonic_period: initiate period -- returns to caller 60 54 <br>- rtems_rate_monotonic_period: obtain status 38 31 <br>- rtems_rate_monotonic_cancel 46 39 <br>- rtems_rate_monotonic_delete: inactive 54 48 <br>- rtems_rate_monotonic_delete: active 57 51 <br>- rtems_rate_monotonic_period: conclude periods -- caller blocks 83 74 <br>-- <br>2.1.4 <br> <br> <br>This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. <br></blockquote><br></div><br></div></body></html><br><div style="text-align: justify;"><span style="color: rgb(0, 153, 0); font-family: 'Courier New', Courier, mono; font-size: 10pt; background-color: rgb(34, 34, 34);">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. </span></div>