Changeset e51bc97 in rtems-libbsd


Ignore:
Timestamp:
Dec 20, 2013, 12:26:03 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 647dd08ae2aa69b935c2847ea450fb824322ecae, freebsd-9.3, c6261f97870562d4c797cfb1ff1ba0affb85a916
Children:
f5f4cad
Parents:
4d642a0
git-author:
Sebastian Huber <sebastian.huber@…> (12/20/13 12:26:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/20/13 14:35:59)
Message:

Delete rtems_bsd_initialize_with_interrupt_server

Move interrupt server initialization to nexus_probe().

Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r4d642a0 re51bc97  
    6363LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-get-file.c
    6464LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-init.c
    65 LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-init-with-irq.c
    6665LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-jail.c
    6766LIB_C_FILES += rtemsbsd/rtems/rtems-bsd-kern_synch.c
  • freebsd-to-rtems.py

    r4d642a0 re51bc97  
    653653                'rtems/rtems-bsd-get-file.c',
    654654                'rtems/rtems-bsd-init.c',
    655                 'rtems/rtems-bsd-init-with-irq.c',
    656655                'rtems/rtems-bsd-jail.c',
    657656                'rtems/rtems-bsd-kern_synch.c',
  • rtemsbsd/include/rtems/bsd/bsd.h

    r4d642a0 re51bc97  
    7171rtems_status_code rtems_bsd_initialize(void);
    7272
    73 rtems_status_code rtems_bsd_initialize_with_interrupt_server(void);
    74 
    7573void rtems_bsd_shell_initialize(void);
    7674
  • rtemsbsd/rtems/rtems-bsd-nexus.c

    r4d642a0 re51bc97  
    3939
    4040#include <machine/rtems-bsd-kernel-space.h>
     41#include <machine/rtems-bsd-thread.h>
    4142
    4243#include <rtems/bsd/sys/param.h>
     
    6364nexus_probe(device_t dev)
    6465{
     66        rtems_status_code status;
    6567        int err;
    6668        size_t i;
    6769
    6870        device_set_desc(dev, "RTEMS Nexus device");
     71
     72        status = rtems_interrupt_server_initialize(
     73                BSD_TASK_PRIORITY_INTERRUPT,
     74                BSD_MINIMUM_TASK_STACK_SIZE,
     75                RTEMS_DEFAULT_MODES,
     76                RTEMS_DEFAULT_ATTRIBUTES,
     77                NULL
     78        );
     79        BSD_ASSERT(status == RTEMS_SUCCESSFUL);
    6980
    7081        mem_rman.rm_start = 0;
  • testsuite/include/rtems/bsd/test/default-init.h

    r4d642a0 re51bc97  
    5252  default_set_self_prio( RTEMS_MAXIMUM_PRIORITY - 1 );
    5353
    54   rtems_bsd_initialize_with_interrupt_server();
     54  rtems_bsd_initialize();
    5555
    5656  /* Let the callout timer allocate its resources */
  • testsuite/include/rtems/bsd/test/default-network-init.h

    r4d642a0 re51bc97  
    152152        default_network_set_self_prio(RTEMS_MAXIMUM_PRIORITY - 1);
    153153
    154         rtems_bsd_initialize_with_interrupt_server();
     154        rtems_bsd_initialize();
    155155
    156156        /* Let the callout timer allocate its resources */
  • testsuite/usb01/init.c

    r4d642a0 re51bc97  
    260260  ASSERT_SC(sc);
    261261
    262   sc = rtems_bsd_initialize_with_interrupt_server();
     262  sc = rtems_bsd_initialize();
    263263  ASSERT_SC(sc);
    264264
Note: See TracChangeset for help on using the changeset viewer.