-/* $OpenBSD: cpu.c,v 1.60 2014/03/29 18:09:28 guenther Exp $ */
+/* $OpenBSD: cpu.c,v 1.61 2014/04/30 06:24:23 sf Exp $ */
/* $NetBSD: cpu.c,v 1.1 2003/04/26 18:39:26 fvdl Exp $ */
/*-
if (mp_verbose) {
printf("%s: kstack at 0x%lx for %d bytes\n",
sc->sc_dev.dv_xname, kstack, USPACE);
- printf("%s: idle pcb at %p, idle sp at 0x%lx\n",
+ printf("%s: idle pcb at %p, idle sp at 0x%llx\n",
sc->sc_dev.dv_xname, pcb, pcb->pcb_rsp);
}
#endif
-/* $OpenBSD: trap.c,v 1.36 2014/04/18 11:51:16 guenther Exp $ */
+/* $OpenBSD: trap.c,v 1.37 2014/04/30 06:24:23 sf Exp $ */
/* $NetBSD: trap.c,v 1.2 2003/05/04 23:51:56 fvdl Exp $ */
/*-
else
printf("unknown trap %ld", (u_long)frame->tf_trapno);
printf(" in %s mode\n", (type & T_USER) ? "user" : "supervisor");
- printf("trap type %d code %lx rip %lx cs %lx rflags %lx cr2 "
- " %lx cpl %x rsp %lx\n",
- type, frame->tf_err, (u_long)frame->tf_rip, frame->tf_cs,
+ printf("trap type %d code %llx rip %llx cs %llx rflags %llx cr2 "
+ " %llx cpl %x rsp %llx\n",
+ type, frame->tf_err, frame->tf_rip, frame->tf_cs,
frame->tf_rflags, rcr2(), curcpu()->ci_ilevel, frame->tf_rsp);
- panic("trap type %d, code=%lx, pc=%lx",
+ panic("trap type %d, code=%llx, pc=%llx",
type, frame->tf_err, frame->tf_rip);
/*NOTREACHED*/