mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-29 06:11:30 +08:00
Disable cold boot indicator
This commit is contained in:
parent
5003e8f88e
commit
db2e97facf
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user