Changeset 45a81cd in rtems-libbsd


Ignore:
Timestamp:
Oct 5, 2012, 2:34:09 PM (7 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, 647dd08ae2aa69b935c2847ea450fb824322ecae, freebsd-9.3, c6261f97870562d4c797cfb1ff1ba0affb85a916
Children:
808a6b2
Parents:
dbb0540
Message:

Added rtems specific version of _pthread_main_np()
This required adding rtems_id rtems_init_task_id to identify the
main task.

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/Makefile

    rdbb0540 r45a81cd  
    131131C_FILES += rtems/rtems-syslog-initialize.c
    132132C_FILES += rtems/rtems-getprogname.c
     133C_FILES += rtems/rtems-uthread_main_np.c
    133134
    134135# ping command sources
  • rtemsbsd/src/rtems-bsd-init.c

    rdbb0540 r45a81cd  
    7070        pcpu_init((char *)&FIXME_pcpu[0], 0, sizeof(struct pcpu));
    7171}
     72rtems_id  rtems_init_task_id;
    7273
    7374rtems_status_code
     
    7677        rtems_status_code sc = RTEMS_SUCCESSFUL;
    7778
     79        rtems_init_task_id = rtems_task_self();
    7880        hz = (int) rtems_clock_get_ticks_per_second();
    7981        tick = 1000000 / hz;
Note: See TracChangeset for help on using the changeset viewer.