Deleted Added
full compact
init_main.c (161600) init_main.c (162639)
1/*-
2 * Copyright (c) 1995 Terrence R. Lambert
3 * All rights reserved.
4 *
5 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
6 * The Regents of the University of California. All rights reserved.
7 * (c) UNIX System Laboratories, Inc.
8 * All or some portions of this file are derived from material licensed

--- 28 unchanged lines hidden (view full) ---

37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 * SUCH DAMAGE.
40 *
41 * @(#)init_main.c 8.9 (Berkeley) 1/21/94
42 */
43
44#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1995 Terrence R. Lambert
3 * All rights reserved.
4 *
5 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
6 * The Regents of the University of California. All rights reserved.
7 * (c) UNIX System Laboratories, Inc.
8 * All or some portions of this file are derived from material licensed

--- 28 unchanged lines hidden (view full) ---

37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 * SUCH DAMAGE.
40 *
41 * @(#)init_main.c 8.9 (Berkeley) 1/21/94
42 */
43
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/sys/kern/init_main.c 161600 2006-08-25 06:29:16Z davidxu $");
45__FBSDID("$FreeBSD: head/sys/kern/init_main.c 162639 2006-09-25 23:19:01Z rwatson $");
46
47#include "opt_ddb.h"
48#include "opt_init_path.h"
49#include "opt_mac.h"
50
51#include <sys/param.h>
52#include <sys/kernel.h>
53#include <sys/exec.h>

--- 230 unchanged lines hidden (view full) ---

284 ***************************************************************************
285 */
286static void
287print_caddr_t(void *data __unused)
288{
289 printf("%s", (char *)data);
290}
291SYSINIT(announce, SI_SUB_COPYRIGHT, SI_ORDER_FIRST, print_caddr_t, copyright)
46
47#include "opt_ddb.h"
48#include "opt_init_path.h"
49#include "opt_mac.h"
50
51#include <sys/param.h>
52#include <sys/kernel.h>
53#include <sys/exec.h>

--- 230 unchanged lines hidden (view full) ---

284 ***************************************************************************
285 */
286static void
287print_caddr_t(void *data __unused)
288{
289 printf("%s", (char *)data);
290}
291SYSINIT(announce, SI_SUB_COPYRIGHT, SI_ORDER_FIRST, print_caddr_t, copyright)
292SYSINIT(version, SI_SUB_COPYRIGHT, SI_ORDER_SECOND, print_caddr_t, version)
292SYSINIT(trademark, SI_SUB_COPYRIGHT, SI_ORDER_SECOND, print_caddr_t, trademark)
293SYSINIT(version, SI_SUB_COPYRIGHT, SI_ORDER_THIRD, print_caddr_t, version)
293
294#ifdef WITNESS
295static char wit_warn[] =
296 "WARNING: WITNESS option enabled, expect reduced performance.\n";
294
295#ifdef WITNESS
296static char wit_warn[] =
297 "WARNING: WITNESS option enabled, expect reduced performance.\n";
297SYSINIT(witwarn, SI_SUB_COPYRIGHT, SI_ORDER_SECOND + 1,
298SYSINIT(witwarn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 1,
298 print_caddr_t, wit_warn)
299#endif
300
301#ifdef DIAGNOSTIC
302static char diag_warn[] =
303 "WARNING: DIAGNOSTIC option enabled, expect reduced performance.\n";
299 print_caddr_t, wit_warn)
300#endif
301
302#ifdef DIAGNOSTIC
303static char diag_warn[] =
304 "WARNING: DIAGNOSTIC option enabled, expect reduced performance.\n";
304SYSINIT(diagwarn, SI_SUB_COPYRIGHT, SI_ORDER_SECOND + 2,
305SYSINIT(diagwarn, SI_SUB_COPYRIGHT, SI_ORDER_FOURTH + 2,
305 print_caddr_t, diag_warn)
306#endif
307
308static void
309set_boot_verbose(void *data __unused)
310{
311
312 if (boothowto & RB_VERBOSE)

--- 426 unchanged lines hidden ---
306 print_caddr_t, diag_warn)
307#endif
308
309static void
310set_boot_verbose(void *data __unused)
311{
312
313 if (boothowto & RB_VERBOSE)

--- 426 unchanged lines hidden ---