Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include
Good point :-) -- thor...@iphone On Aug 22, 2009, at 6:28 PM, Matt Thomas wrote: On Aug 22, 2009, at 6:28 PM, Jason Thorpe wrote: On Aug 22, 2009, at 4:30 PM, Matt Thomas wrote: On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By:matt Date:Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: types.h Log Message: Adapt to ABI variations. Make sure mips_reg_t == register_t. Add PRIx{{P,V}{ADDR,SIZE}} and PRIxREGISTER{,32} macros to assist printing out above types. What's the point of having both? Why not just register_t and be done with it Mostly to avoid casting. If it's X, use PRIxX and don't worry. No, what's the point of having mips_reg_t ??? because I don't to change all that code right now? :)
Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include
On Aug 22, 2009, at 6:28 PM, Jason Thorpe wrote: On Aug 22, 2009, at 4:30 PM, Matt Thomas wrote: On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: types.h Log Message: Adapt to ABI variations. Make sure mips_reg_t == register_t. Add PRIx{{P,V}{ADDR,SIZE}} and PRIxREGISTER{,32} macros to assist printing out above types. What's the point of having both? Why not just register_t and be done with it Mostly to avoid casting. If it's X, use PRIxX and don't worry. No, what's the point of having mips_reg_t ??? because I don't to change all that code right now? :)
Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include
On Aug 22, 2009, at 4:30 PM, Matt Thomas wrote: On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: types.h Log Message: Adapt to ABI variations. Make sure mips_reg_t == register_t. Add PRIx{{P,V}{ADDR,SIZE}} and PRIxREGISTER{,32} macros to assist printing out above types. What's the point of having both? Why not just register_t and be done with it Mostly to avoid casting. If it's X, use PRIxX and don't worry. No, what's the point of having mips_reg_t ??? -- thorpej
Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include
On Aug 22, 2009, at 4:25 PM, Jason Thorpe wrote: On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: types.h Log Message: Adapt to ABI variations. Make sure mips_reg_t == register_t. Add PRIx{{P,V}{ADDR,SIZE}} and PRIxREGISTER{,32} macros to assist printing out above types. What's the point of having both? Why not just register_t and be done with it Mostly to avoid casting. If it's X, use PRIxX and don't worry.
Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/include
On Aug 21, 2009, at 10:29 AM, Matt Thomas wrote: Module Name:src Committed By: matt Date: Fri Aug 21 17:29:42 UTC 2009 Modified Files: src/sys/arch/mips/include [matt-nb5-mips64]: types.h Log Message: Adapt to ABI variations. Make sure mips_reg_t == register_t. Add PRIx{{P,V}{ADDR,SIZE}} and PRIxREGISTER{,32} macros to assist printing out above types. What's the point of having both? Why not just register_t and be done with it To generate a diff of this commit: cvs rdiff -u -r1.43.36.1 -r1.43.36.2 src/sys/arch/mips/include/types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. -- thorpej
Re: CVS commit: src/sys/arch/pmax/include
On Aug 22, 2009, at 4:08 PM, Havard Eidnes wrote: Module Name:src Committed By: he Date: Sat Aug 22 23:08:01 UTC 2009 Modified Files: src/sys/arch/pmax/include: loadfile_machdep.h Log Message: Remove BOOT_AOUT, since our mips ports no longer deal with a.out. ...and never really did. This is not a big loss. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/pmax/include/loadfile_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. -- thorpej
Re: CVS commit: src
Hello Joerg ! It seems that nbperf does not play well with SSP with the given compilation option that interpret a warning as error: /usr/src/usr.bin/nbperf/graph2.c: In function 'graph2_hash': /usr/src/usr.bin/nbperf/graph2.c:76: warning: not protecting local variables: variable length buffer make release with SSP aborts here. There is also a second variable size array on stack on graph3.c. Best regards, Frank Joerg Sonnenberger wrote: Module Name:src Committed By: joerg Date: Sat Aug 15 16:21:05 UTC 2009 Modified Files: src/distrib/sets/lists/comp: mi src/usr.bin: Makefile Added Files: src/usr.bin/nbperf: Makefile graph2.c graph2.h graph3.c graph3.h nbperf-bdz.c nbperf-chm.c nbperf-chm3.c nbperf.1 nbperf.c nbperf.h Log Message: Add nbperf(1), a minimal perfect hash function generator. Implemented are the 3-graph BDZ algorithm as well as the 2-graph and 3-graph CHM algorithms. All algorithms have expected linear run time and the smallest functions need around 2.85 bit/key. To generate a diff of this commit: cvs rdiff -u -r1.1292 -r1.1293 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.177 -r1.178 src/usr.bin/Makefile cvs rdiff -u -r0 -r1.1 src/usr.bin/nbperf/Makefile \ src/usr.bin/nbperf/graph2.c src/usr.bin/nbperf/graph2.h \ src/usr.bin/nbperf/graph3.c src/usr.bin/nbperf/graph3.h \ src/usr.bin/nbperf/nbperf-bdz.c src/usr.bin/nbperf/nbperf-chm.c \ src/usr.bin/nbperf/nbperf-chm3.c src/usr.bin/nbperf/nbperf.1 \ src/usr.bin/nbperf/nbperf.c src/usr.bin/nbperf/nbperf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.