Changeset 4f44b24 in rtems-libbsd


Ignore:
Timestamp:
Jul 11, 2012, 7:31:09 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
079c3f2
Parents:
514a0e5
Message:

link01: Initialize interfaces

Location:
testsuite/link01
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuite/link01/Makefile

    r514a0e5 r4f44b24  
    1616
    1717AM_CPPFLAGS += -I $(INSTALL_BASE)/include
     18LINK_LIBS += $(INSTALL_BASE)/libbsdc.a
    1819LINK_LIBS += $(INSTALL_BASE)/libbsd.a ${REL_ARGS}
    1920
  • testsuite/link01/test.c

    r514a0e5 r4f44b24  
    99#include <stdio.h>
    1010#include <freebsd/bsd.h>
     11
     12/* XXX temporary until in .h file */
     13void rtems_initialize_interfaces(void);
    1114
    1215rtems_task Init(
     
    2225
    2326  rtems_bsd_initialize_with_interrupt_server();
     27
     28  puts( "Initializing interfaces" );
     29  rtems_initialize_interfaces();
     30
     31  puts( "Sleeping to see what happens" );
     32  sleep( 5 );
    2433
    2534  printf( "*** END OF LIBFREEBSD INITIALIZATION TEST ***\n" );
Note: See TracChangeset for help on using the changeset viewer.