-# $OpenBSD: Makefile.landisk,v 1.49 2013/10/15 19:23:27 guenther Exp $
+# $OpenBSD: Makefile.landisk,v 1.50 2014/05/08 21:43:04 miod Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
INCLUDES= -nostdinc -I$S -I. -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-main -Wno-uninitialized -Wno-format \
+ -Wno-main -Wno-uninitialized \
-Wstack-larger-than-2047
CMACHFLAGS= -m4-nofpu
-/* $OpenBSD: sh_machdep.c,v 1.36 2014/03/26 05:23:42 guenther Exp $ */
+/* $OpenBSD: sh_machdep.c,v 1.37 2014/05/08 21:43:04 miod Exp $ */
/* $NetBSD: sh3_machdep.c,v 1.59 2006/03/04 01:13:36 uwe Exp $ */
/*
sh_vector_interrupt_end - sh_vector_interrupt);
#endif /* DEBUG */
- printf("real mem = %u (%uMB)\n", ptoa(physmem),
+ printf("real mem = %lu (%luMB)\n", ptoa(physmem),
ptoa(physmem) / 1024 / 1024);
/*
-/* $OpenBSD: trap.c,v 1.25 2014/04/18 11:51:17 guenther Exp $ */
+/* $OpenBSD: trap.c,v 1.26 2014/05/08 21:43:04 miod Exp $ */
/* $NetBSD: exception.c,v 1.32 2006/09/04 23:57:52 uwe Exp $ */
/* $NetBSD: syscall.c,v 1.6 2006/03/07 07:21:50 thorpej Exp $ */
else
printf("EXPEVT 0x%03x", expevt);
printf(" in %s mode\n", expevt & EXP_USER ? "user" : "kernel");
- printf("va %p spc %p ssr %p pr %p \n",
+ printf("va 0x%x spc 0x%x ssr 0x%x pr 0x%x \n",
va, tf->tf_spc, tf->tf_ssr, tf->tf_pr);
panic("general_exception");