Changeset 99aebcb in rtems for testsuites/samples


Ignore:
Timestamp:
Feb 22, 2012, 8:14:37 AM (8 years ago)
Author:
Ralf Corsépius <ralf.corsepius@…>
Branches:
4.11, master
Children:
56f1fbe
Parents:
39e8aa9
git-author:
Ralf Corsépius <ralf.corsepius@…> (02/22/12 08:14:37)
git-committer:
Ralf Corsépius <ralf.corsepius@…> (02/22/12 08:33:10)
Message:

2012-02-22 Ralf Corsépius <ralf.corsepius@…>

  • nsecs/system.h: New (Split out from nsecs/init.c).
  • nsecs/init.c: Reflect nsecs/system.h having been split out.
  • nsecs/empty.c: Include "system.h".
Location:
testsuites/samples/nsecs
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/nsecs/empty.c

    r39e8aa9 r99aebcb  
    1313#endif
    1414
     15#include "system.h"
     16
    1517/* put here hoping it won't get inlined */
    1618void dummy_function_empty_body_to_force_call(void) {}
  • testsuites/samples/nsecs/init.c

    r39e8aa9 r99aebcb  
    1313 */
    1414
    15 #define CONFIGURE_INIT
    16 
    1715#ifdef HAVE_CONFIG_H
    1816#include "config.h"
     
    2624#include <unistd.h>
    2725#include <sys/time.h>
     26
     27#define CONFIGURE_INIT
     28#include "system.h"
     29
    2830#include <rtems/score/timespec.h> /* _Timespec_Substract */
    2931
     
    5052}
    5153
    52 /* body below .. hoping it isn't inlined */
    53 extern void dummy_function_empty_body_to_force_call(void);
    5454
    5555rtems_task Init(
     
    144144}
    145145
    146 
    147 #include <bsp.h> /* for device driver prototypes */
    148 
    149 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    150 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    151 
    152 #define CONFIGURE_MICROSECONDS_PER_TICK 1000
    153 #define CONFIGURE_MAXIMUM_TASKS            1
    154 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    155 
    156 #include <rtems/confdefs.h>
    157 
Note: See TracChangeset for help on using the changeset viewer.