Changeset 11290355 in rtems for c/src/lib/libbsp


Ignore:
Timestamp:
Sep 29, 1995, 5:19:16 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1ceface
Parents:
1039ae4
Message:

all targets compile .. tony's patches in place

Location:
c/src/lib/libbsp
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h

    r1039ae4 r11290355  
    1414 */
    1515
    16 #ifndef __SIMHPPA_h
    17 #define __SIMHPPA_h
     16#ifndef __PXFL_BSP_h
     17#define __PXFL_BSP_h
    1818
    1919#ifdef __cplusplus
     
    2424#include <clockdrv.h>
    2525#include <rtems/ttydrv.h>
    26 #include <libcsupport.h>
    2726
    2827/*
  • c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/getcfg.c

    r1039ae4 r11290355  
    5353shm_config_table BSP_shm_cfgtbl;
    5454
    55 void Shm_Cause_interrupt_simhppa(
    56   rtems_unsigned32 node
    57 );
     55void Shm_Cause_interrupt_pxfl( rtems_unsigned32 node );
    5856
    5957void Shm_Get_configuration(
     
    6664   BSP_shm_cfgtbl.format       = SHM_BIG;
    6765
    68    BSP_shm_cfgtbl.cause_intr   = Shm_Cause_interrupt_simhppa;
     66   BSP_shm_cfgtbl.cause_intr   = Shm_Cause_interrupt_pxfl;
    6967
    7068#ifdef NEUTRAL_BIG
  • c/src/lib/libbsp/hppa1.1/simhppa/shmsupp/intr.c

    r1039ae4 r11290355  
    1 /*  void Shm_Cause_interrupt_simhppa( node )
     1/*  void Shm_Cause_interrupt_pxfl( node )
    22 *
    33 *  This routine is the shared memory driver routine which
     
    2525#include <shm.h>
    2626
    27 void Shm_Cause_interrupt_simhppa(
     27void Shm_Cause_interrupt_pxfl(
    2828  rtems_unsigned32 node
    2929)
    3030{
    3131  Shm_Interrupt_information *intr;
    32   rtems_unsigned8  *u8;
    33   rtems_unsigned16 *u16;
    3432  rtems_unsigned32 *u32;
    3533  rtems_unsigned32  value;
     
    4139    case NO_INTERRUPT:
    4240       break;
    43     case BYTE:
    44       u8   = (rtems_unsigned8 *)intr->address;
    45       fprintf(
    46         stderr,
    47         "Shm_Cause_interrupt_simhppa: Writes of unsigned8 not supported!!!\n"
    48       );
    49       rtems_shutdown_executive( 0 );
    50       break;
    51     case WORD:
    52       u16   = (rtems_unsigned16 *)intr->address;
    53       fprintf(
    54         stderr,
    55         "Shm_Cause_interrupt_simhppa: Writes of unsigned8 not supported!!!\n"
    56       );
    57       rtems_shutdown_executive( 0 );
    58       break;
    5941    case LONG:
    6042      u32   = (rtems_unsigned32 *)intr->address;
    6143      HPPA_ASM_STWAS( value, 0, u32 );
    6244      break;
     45    default:
     46      fprintf( stderr, "Shm_Cause_interrupt_pxfl: Unsupported length!!!\n" );
     47      rtems_shutdown_executive( 0 );
     48      break;
    6349  }
    6450}
  • c/src/lib/libbsp/hppa1.1/simhppa/startup/setvec.c

    r1039ae4 r11290355  
    5656             (vector < (HPPA_INTERRUPT_BSP_BASE + HPPA_BSP_INTERRUPTS)))
    5757    {
    58         simhppa_interrupt_install(handler,
    59                                   vector - HPPA_INTERRUPT_BSP_BASE,
    60                                   (rtems_isr_entry *) &previous_isr);
     58        pxfl_interrupt_install(handler,
     59                               vector - HPPA_INTERRUPT_BSP_BASE,
     60                               (rtems_isr_entry *) &previous_isr);
    6161    }
    6262#endif
  • c/src/lib/libbsp/m68k/gen68302/startup/linkcmds

    r1039ae4 r11290355  
    2020
    2121m302 = 0xf7f000;
     22_VBR = 0x000000;                /* location of the VBR table (in RAM) */
    2223
    2324SECTIONS
  • c/src/lib/libbsp/shmdr/dump.c

    r1039ae4 r11290355  
    2020#include <rtems.h>
    2121#include <stdio.h>
    22 #include <libcsupport.h>
    2322
    2423#include "shm.h"
  • c/src/lib/libbsp/shmdr/fatal.c

    r1039ae4 r11290355  
    2323
    2424void MPCI_Fatal(
    25   rtems_unsigned32 error
     25  Internal_errors_Source  source,
     26  boolean                 is_internal,
     27  rtems_unsigned32        error
    2628)
    2729{
  • c/src/lib/libbsp/shmdr/getlq.c

    r1039ae4 r11290355  
    3434  tmp_ecb = NULL;
    3535  Shm_Lock( lq_cb );
     36
    3637    tmpfront = Shm_Convert(lq_cb->front);
    3738    if ( tmpfront != Shm_Locked_queue_End_of_list ) {
     
    4243      tmp_ecb->next = Shm_Locked_queue_Not_on_list;
    4344    }
     45
    4446  Shm_Unlock( lq_cb );
    4547  return( tmp_ecb );
  • c/src/lib/libbsp/shmdr/shm.h

    r1039ae4 r11290355  
    471471void           Init_env_pool();
    472472void           Shm_Print_statistics( void );
    473 void           MPCI_Fatal( rtems_unsigned32 );
     473void           MPCI_Fatal(
     474  Internal_errors_Source  source,
     475  boolean                 is_internal,
     476  rtems_unsigned32        error
     477 );
    474478rtems_task     Shm_Cause_interrupt( rtems_unsigned32 );
    475479void           Shm_Poll();
  • c/src/lib/libbsp/shmdr/shm_driver.h

    r1039ae4 r11290355  
    471471void           Init_env_pool();
    472472void           Shm_Print_statistics( void );
    473 void           MPCI_Fatal( rtems_unsigned32 );
     473void           MPCI_Fatal(
     474  Internal_errors_Source  source,
     475  boolean                 is_internal,
     476  rtems_unsigned32        error
     477 );
    474478rtems_task     Shm_Cause_interrupt( rtems_unsigned32 );
    475479void           Shm_Poll();
  • c/src/lib/libbsp/unix/posix/include/bsp.h

    r1039ae4 r11290355  
    2525#include <console.h>
    2626#include <iosupp.h>
    27 #include <libcsupport.h>
    2827
    2928/*
  • c/src/lib/libbsp/unix/posix/startup/bspstart.c

    r1039ae4 r11290355  
    196196    rtems_fatal_error_occurred('STIO');
    197197#endif
     198
     199#if defined(MALLOC_STATS)
     200  atexit(malloc_dump);
     201#endif
     202
    198203}
    199204
  • c/src/lib/libbsp/unix/posix/startup/setvec.c

    r1039ae4 r11290355  
    88 *    type    - 0 indicates raw hardware connect
    99 *              1 indicates RTEMS interrupt connect
    10  *
    11  *  NOTE 'type' is ignored on hppa; all interrupts are owned by RTEMS
    1210 *
    1311 *  RETURNS:
     
    2624
    2725#include <bsp.h>
    28 
    29 /*
    30  * Install an interrupt handler in the right place
    31  * given its vector number from cpu/hppa.h
    32  * There are 2 places an interrupt can be installed
    33  *      _ISR_Vector_table
    34  *      bsp interrupt      XXX: nyi
    35  *
    36  * We decide which based on the vector number
    37  */
    3826
    3927rtems_isr_entry
Note: See TracChangeset for help on using the changeset viewer.