Disable cold boot indicator

This commit is contained in:
Sebastian Huber 2013-10-14 15:01:13 +02:00
parent 5003e8f88e
commit db2e97facf
3 changed files with 5 additions and 2 deletions

View File

@ -45,7 +45,12 @@
#include <sys/queue.h>
#include <sys/stdint.h> /* for people using printf mainly */
#ifndef __rtems__
extern int cold; /* nonzero if we are doing a cold boot */
#else /* __rtems__ */
/* In RTEMS there is no cold boot */
#define cold 0
#endif /* __rtems__ */
extern int rebooting; /* boot() has been called. */
extern const char *panicstr; /* panic message */
extern char version[]; /* system version */

View File

@ -144,7 +144,6 @@
#define cam_status_table _bsd_cam_status_table
#define cam_strmatch _bsd_cam_strmatch
#define cam_strvis _bsd_cam_strvis
#define cold _bsd_cold
#define copyin _bsd_copyin
#define copyout _bsd_copyout
#define critical_enter _bsd_critical_enter

View File

@ -53,7 +53,6 @@ int ngroups_max = NGROUPS_MAX; /* XXX */
int maxfiles = 7; /* XXX sys. wide open files limit */
int maxfilesperproc = 27; /* XXX per-proc open files limit */
int cold = 1; /* XXX Wasn't sure where to put this */
uintptr_t dpcpu_off[MAXCPU];
int hogticks = 2; /* hogticks = 2 * sched_quantum */