swapping bytes, fpos_t

2001-06-26 Thread Marc van Woerkom
Hi, while porting the ogle dvd player I faced the problem of needing fast byte swap routines for 16, 32 and 64 bit words. After grepping through the -CURRENT sources I came up with at least three different assembler implementations. - one in NTOHS, NTOHL - one undocumented swap16/swap32 used by

Re: kernel modules

2001-04-03 Thread Marc van Woerkom
> I think it was imported in the doc tree as well. Thanks for reminding me. I just worked through the newbus driver article and from there stumbled on http://www.netbsd.org/Documentation/kernel/programming.html Regards, Marc To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscr

Re: kernel modules

2001-04-03 Thread Marc van Woerkom
Hi Panagiotis, > http://www.daemonnews.org/200010/blueprints.html thank you very much for this link. > I think it was imported in the doc tree as well. Have not looked there for quite a while. Perhaps there is something on drivers as well. Regards, Marc To Unsubscribe: send mail to [EMAIL

kernel modules

2001-04-03 Thread Marc van Woerkom
I'm looking for some docs on our kernel module architecture. Do we have something more decent than http://packetstorm.securify.com/papers/unix/bsdkern.htm Regards, Marc To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: How to make *real* random bits.

2000-08-01 Thread Marc van Woerkom
> I'm pretty sure that "noise-diodes" are probably the most efficient > way to generate random bits, but it doesn't measure up to a geiger- > counter when it comes to "geek value" :-) hehe.. I would try making the speaker click according to the geiger events .. :) Regards, Marc To Unsubscribe

Re: How to make *real* random bits.

2000-08-01 Thread Marc van Woerkom
To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: How to make *real* random bits.

2000-08-01 Thread Marc van Woerkom
> I located a surplus german geiger counter cheaply [1], I have always > wanted to have one anyway, and in my junkbox I already had an old > smoke alarm [2]. The Geiger counter has a thin-walled tube which > takes about 15 events per second from the Am-241 source in the > smoke alarm. Very cool

Re: Linux NVIDIA drivers vs. default XFree86 drivers (WAS: RE: Video card support)

2000-07-31 Thread Marc van Woerkom
> I would guess that if they have managed to abstract their NT source to the point > where a simple wrapper can turn it into a linux kmod, then it is quite possible > that it may be able to be ported to FreeBSD. The only other thing is whether > their X Server could be ported in such a way (is it