Ignore:
Timestamp:
Oct 30, 2012, 4:42:17 PM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
20e1e769
Parents:
f7ceeacf
git-author:
Sebastian Huber <sebastian.huber@…> (10/30/12 16:42:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/02/12 08:34:35)
Message:

libnetworking: Use system events

Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.

Add and use rtems_bsdnet_event_send().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c

    rf7ceeacf r26e90fb1  
    561561   * Wake up receive task to receive packets in queue
    562562   */
    563   rtems_event_send(tsmac->rxDaemonTid, INTERRUPT_EVENT);
     563  rtems_bsdnet_event_send(tsmac->rxDaemonTid, INTERRUPT_EVENT);
    564564}
    565565
     
    586586  struct tsmac_softc *tsmac = ifp->if_softc;
    587587
    588   rtems_event_send (tsmac->txDaemonTid, START_TRANSMIT_EVENT);
     588  rtems_bsdnet_event_send (tsmac->txDaemonTid, START_TRANSMIT_EVENT);
    589589  ifp->if_flags |= IFF_OACTIVE;
    590590}
     
    798798    {
    799799      tsmac->rxInterrupts++;
    800       rtems_event_send(tsmac->rxDaemonTid, INTERRUPT_EVENT);
     800      rtems_bsdnet_event_send(tsmac->rxDaemonTid, INTERRUPT_EVENT);
    801801    }
    802802
     
    804804    {
    805805      tsmac->txInterrupts++;
    806       rtems_event_send(tsmac->txDaemonTid, INTERRUPT_EVENT);
     806      rtems_bsdnet_event_send(tsmac->txDaemonTid, INTERRUPT_EVENT);
    807807    }
    808808
Note: See TracChangeset for help on using the changeset viewer.