Changeset 23848bbd in rtems for c/src/ada-tests/support/init.c


Ignore:
Timestamp:
Oct 1, 2007, 10:58:09 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
d731ccc7
Parents:
f10fe707
Message:

2007-10-01 Joel Sherrill <joel.sherrill@…>

  • mptests/mp01/mptest.adb, mptests/mp01/mptest.ads, mptests/mp01/node1/Makefile.am, mptests/mp02/mptest.adb, mptests/mp02/mptest.ads, mptests/mp03/mptest.adb, mptests/mp03/mptest.ads, mptests/mp04/mptest.adb, mptests/mp04/mptest.ads, mptests/mp05/mptest.adb, mptests/mp05/mptest.ads, mptests/mp06/mptest.adb, mptests/mp06/mptest.ads, mptests/mp07/mptest.adb, mptests/mp07/mptest.ads, mptests/mp08/mptest.adb, mptests/mp08/mptest.ads, mptests/mp09/mptest.adb, mptests/mp09/mptest.ads, mptests/mp10/mptest.adb, mptests/mp10/mptest.ads, mptests/mp11/mptest.adb, mptests/mp11/mptest.ads, mptests/mp12/mptest.adb, mptests/mp12/mptest.ads, mptests/mp13/mptest.adb, mptests/mp13/mptest.ads, mptests/mp14/mptest.adb, mptests/mp14/mptest.ads, support/init.c, support/test_support.adb, support/test_support.ads: Most of single processor Ada tests now build. Some run.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/ada-tests/support/init.c

    rf10fe707 r23848bbd  
    3232}
    3333
     34
    3435/*
    3536 *  By putting this in brackets rather than quotes, we get the search
     
    4243
    4344#include <config.h>
     45
     46uint32_t milliseconds_per_tick(void)
     47{
     48  return CONFIGURE_MICROSECONDS_PER_TICK / 1000;
     49}
     50
     51uint32_t ticks_per_second(void)
     52{
     53  /* XXX HACK -- use public API */
     54  return TOD_TICKS_PER_SECOND;
     55}
     56
     57uint32_t get_node(void)
     58{
     59  /* XXX HACK -- use public API */
     60  return _Objects_Local_node;
     61}
Note: See TracChangeset for help on using the changeset viewer.