-/* $OpenBSD: fp_emulate.c,v 1.9 2014/03/29 18:09:30 guenther Exp $ */
+/* $OpenBSD: fp_emulate.c,v 1.10 2015/01/02 22:38:46 sebastia Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
#ifdef DEBUG
#ifdef DDB
- printf("%s: unimplemented FPU completion, fsr 0x%08x\n%p: ",
+ printf("%s: unimplemented FPU completion, fsr 0x%08x\n0x%lx: ",
p->p_comm, fsr, pc);
dbmd_print_insn(insn, pc, printf);
#else
-/* $OpenBSD: sendsig.c,v 1.22 2014/03/26 05:23:42 guenther Exp $ */
+/* $OpenBSD: sendsig.c,v 1.23 2015/01/02 22:38:46 sebastia Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
#ifdef DEBUG
if ((sigdebug & SDB_FOLLOW) ||
((sigdebug & SDB_KSTACK) && (p->p_pid == sigpid)))
- printf("sendsig(%d): sig %d ssp %x usp %x scp %x\n",
+ printf("sendsig(%d): sig %d ssp %p usp %p scp %p\n",
p->p_pid, sig, &ksc, fp, &fp->sf_sc);
#endif
/*
scp = SCARG(uap, sigcntxp);
#ifdef DEBUG
if (sigdebug & SDB_FOLLOW)
- printf("sigreturn: pid %d, scp %x\n", p->p_pid, scp);
+ printf("sigreturn: pid %d, scp %p\n", p->p_pid, scp);
#endif
regs = p->p_md.md_regs;
/*
if (error || ksc.sc_regs[ZERO] != 0xACEDBADE) {
#ifdef DEBUG
if (!(sigdebug & SDB_FOLLOW))
- printf("sigreturn: pid %d, scp %x\n", p->p_pid, scp);
- printf(" old sp %x ra %x pc %x\n",
+ printf("sigreturn: pid %d, scp %p\n", p->p_pid, scp);
+ printf(" old sp %lx ra %lx pc %lx\n",
regs->sp, regs->ra, regs->pc);
- printf(" new sp %x ra %x pc %x err %d z %x\n",
+ printf(" new sp %lx ra %lx pc %lx err %d z %lx\n",
ksc.sc_regs[SP], ksc.sc_regs[RA], ksc.sc_regs[PC],
error, ksc.sc_regs[ZERO]);
#endif
-/* $OpenBSD: autoconf.c,v 1.39 2014/11/24 16:40:29 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.40 2015/01/02 22:38:46 sebastia Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
*
extern int console_ok;
if (console_ok)
- printf("%s: memory from %p to %p\n",
+ printf("%s: memory from 0x%lx to 0x%lx\n",
__func__, ptoa(startpfn), ptoa(endpfn));
else
- bios_printf("%s: memory from %p to %p\n",
+ bios_printf("%s: memory from 0x%lx to 0x%lx\n",
__func__, ptoa(startpfn), ptoa(endpfn));
}
#endif