Changeset db2e97f in rtems-libbsd


Ignore:
Timestamp:
Oct 14, 2013, 1:01:13 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
0bcf341
Parents:
5003e8f
git-author:
Sebastian Huber <sebastian.huber@…> (10/14/13 13:01:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:46)
Message:

Disable cold boot indicator

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/sys/systm.h

    r5003e8f rdb2e97f  
    4646#include <sys/stdint.h>         /* for people using printf mainly */
    4747
     48#ifndef __rtems__
    4849extern int cold;                /* nonzero if we are doing a cold boot */
     50#else /* __rtems__ */
     51/* In RTEMS there is no cold boot */
     52#define cold 0
     53#endif /* __rtems__ */
    4954extern int rebooting;           /* boot() has been called. */
    5055extern const char *panicstr;    /* panic message */
  • rtemsbsd/include/machine/rtems-bsd-symbols.h

    r5003e8f rdb2e97f  
    145145#define cam_strmatch _bsd_cam_strmatch
    146146#define cam_strvis _bsd_cam_strvis
    147 #define cold _bsd_cold
    148147#define copyin _bsd_copyin
    149148#define copyout _bsd_copyout
  • rtemsbsd/rtems/rtems-bsd-support.c

    r5003e8f rdb2e97f  
    5454int     maxfiles = 7;                  /* XXX sys. wide open files limit */
    5555int     maxfilesperproc = 27;          /* XXX per-proc open files limit */
    56 int     cold = 1;                      /* XXX Wasn't sure where to put this */
    5756uintptr_t dpcpu_off[MAXCPU];
    5857int     hogticks = 2;                  /* hogticks = 2 * sched_quantum */
Note: See TracChangeset for help on using the changeset viewer.