Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/init_main.c
Show First 20 Lines • Show All 381 Lines • ▼ Show 20 Lines | |||||
static char diag_warn[] = | static char diag_warn[] = | ||||
"WARNING: DIAGNOSTIC option enabled, expect reduced performance.\n"; | "WARNING: DIAGNOSTIC option enabled, expect reduced performance.\n"; | ||||
SYSINIT(diagwarn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 2, | SYSINIT(diagwarn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 2, | ||||
print_caddr_t, diag_warn); | print_caddr_t, diag_warn); | ||||
SYSINIT(diagwarn2, SI_SUB_LAST, SI_ORDER_THIRD + 2, | SYSINIT(diagwarn2, SI_SUB_LAST, SI_ORDER_THIRD + 2, | ||||
print_caddr_t, diag_warn); | print_caddr_t, diag_warn); | ||||
#endif | #endif | ||||
#ifdef AUTO_VAR_INIT_MISSING | |||||
static char auto_var_warn[] = | |||||
"WARNING: AUTO_VAR_INIT option enable but no compiler support.\n"; | |||||
SYSINIT(sudo_var_warn, SI_SUB_COPYRIGHT, SI_ORDER_THIRD + 3, | |||||
print_caddr_t, auto_var_warn); | |||||
SYSINIT(auto_var_warn2, SI_SUB_LAST, SI_ORDER_THIRD + 3, | |||||
print_caddr_t, auto_var_warn); | |||||
#endif | |||||
static int | static int | ||||
null_fetch_syscall_args(struct thread *td __unused) | null_fetch_syscall_args(struct thread *td __unused) | ||||
{ | { | ||||
panic("null_fetch_syscall_args"); | panic("null_fetch_syscall_args"); | ||||
} | } | ||||
static void | static void | ||||
▲ Show 20 Lines • Show All 439 Lines • Show Last 20 Lines |