[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Current fails in MONOLITHIC
On Mon, Jul 25, 2011 at 10:39:18AM +0100, Jean-Yves Migeon wrote:
> On Sun, 24 Jul 2011 20:35:09 -0700, Paul Newhouse wrote:
> >Where did I go wrong?
> > : uname -a
> >NetBSD pimin 5.99.52 NetBSD 5.99.52 (MONOLITHIC) #1: Sat May 28
> >12:55:20 PDT
> >2011 root@pimin:/glorp/obj/sys/arch/i386/compile/MONOLITHIC i386
> >/usr src from head
> > :cvs update -Pd
> >Run just before build was attempted.
> Snipped, to emphasize the problem:
> > --- cxdtv.o ---
> > -nostdinc -DDIAGNOSTIC -DPAE -DMAXUSERS=64 -D_KERNEL
> > /glorp/src/sys/dev/pci/cxdtv.c: In function
> > /glorp/src/sys/dev/pci/cxdtv.c:670: warning: format '%016lx'
> > type 'long unsigned int', but argument 3 has type 'bus_addr_t'
> > *** [cxdtv.o] Error code 1
> bus_addr_t is a physical address (paddr_t), and with PAE, it's a 64
> bits entity.
> You should use PRIxPADDR to print paddr_t/bus_addr_t entities, it
> will automagically use the proper specifier.
paddr_t and bus_addr_t are not necessarily the same width, are they?
ISTM that you could have 32-bit paddr_t and 64-bit bus_addr_t, or
In any case, every port should #define PRIxBUSADDR, PRIxBUSSIZE, and so
David Young OJC Technologies
dyoung%ojctech.com@localhost Urbana, IL * (217) 344-0444 x24
Main Index |
Thread Index |