Changeset a4d8e19 in rtems-libbsd


Ignore:
Timestamp:
May 10, 2012, 1:51:10 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
ee6b343
Parents:
b41a358
git-author:
Sebastian Huber <sebastian.huber@…> (05/10/12 13:51:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/10/12 14:20:41)
Message:

Move rtems_bsd_thread0_ucred

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb41a358 ra4d8e19  
    2121C_FILES += rtemsbsd/dev/usb/controller/ohci_lpc32xx.c
    2222C_FILES += rtemsbsd/dev/usb/controller/ehci_mpc83xx.c
     23C_FILES += rtemsbsd/src/rtems-bsd-thread0-ucred.c
    2324C_FILES += rtemsbsd/src/rtems-bsd-cam.c
    2425C_FILES += rtemsbsd/src/rtems-bsd-nexus.c
  • freebsd-to-rtems.py

    rb41a358 ra4d8e19  
    514514                'dev/usb/controller/ohci_lpc32xx.c',
    515515                'dev/usb/controller/ehci_mpc83xx.c',
     516                'src/rtems-bsd-thread0-ucred.c',
    516517                'src/rtems-bsd-cam.c',
    517518                'src/rtems-bsd-nexus.c',
  • freebsd/kern/init_main.c

    rb41a358 ra4d8e19  
    119119 * If we want to register new sysinit types, add them to newsysinit.
    120120 */
    121 #else  /* __rtems__ */
    122 struct ucred *rtems_bsd_thread0_ucred;
    123121#endif /* __rtems__ */
    124122SET_DECLARE(sysinit_set, struct sysinit);
     
    194192        if (boothowto & RB_VERBOSE)
    195193                bootverbose++;
    196 #else  /* __rtems__ */
    197         rtems_bsd_thread0_ucred = crget();
    198         rtems_bsd_thread0_ucred->cr_ngroups = 1;        /* group 0 */
    199         rtems_bsd_thread0_ucred->cr_uidinfo = uifind(0);
    200         rtems_bsd_thread0_ucred = uifind(0);
    201         rtems_bsd_thread0_ucred->cr_prison = &prison0;
    202 
    203194#endif /* __rtems__ */
    204195
Note: See TracChangeset for help on using the changeset viewer.