On Fri, Jun 30, 2006 at 10:21:39PM -0500, Dan Nelson wrote:
> In the last episode (Jul 01), Jean-Marc Lienher said:
> > After a (too?) quick look at the FreeBSD source code, I've seen that
> > the GNU compiler toolchain was used to compile the kernel and other
> > part of the OS.
> >
> > I would l
On Friday 30 June 2006 22:32, Peter Jeremy wrote:
> On Fri, 2006-Jun-30 20:29:28 +0200, Hans Petter Selasky wrote:
> >I sometimes see that the USB driver is unable to allocate contiguous
> > memory for itself. For example I noticed that FreeBSD was unable to
> > allocate 350kbytes of contiguous mem
Pat Lashley <[EMAIL PROTECTED]> writes:
> BUT, that said, the safest and most portable coding practice would be:
>
>// The C standard does not require malloc(0) to return NULL;
>// but whatever it returns MUST NOT be dereferenced.
>ptr = ( size == 0 ) ? NULL : malloc( size
Quoting Divacky Roman <[EMAIL PROTECTED]> (Sat, 1 Jul 2006 10:05:11 +0200):
> afaik tendra doesnt support gnu C extensions and our srcs are full of it
> so the only possible compilers ATM are gcc and icc
No version of icc successfully build the world. Some versions were able
to build the kernel,
jml> I've found some other compilers on the web:
jml> http://fabrice.bellard.free.fr/tcc/ (LGPL)
dn> tcc is very fast, probably has the most modern C parser of
dn> the lot, and might even be able to build world except that
dn> the shared binaries it generates aren't able to be loaded
dn> by our
On Saturday 01 July 2006 14:34, Peter Jeremy wrote:
> On Sat, 2006-Jul-01 10:44:54 +0200, Hans Petter Selasky wrote:
> >Yes, but scatter and gather will add extra complexity to the driver, and
> > maybe an extra memory copy in most cases. The idea is to allocate less
> > than or equal to a page of
Dan Nelson <[EMAIL PROTECTED]> writes:
> In the last episode (Jul 01), Jean-Marc Lienher said:
>
>> I've found some other compilers on the web:
>> http://fabrice.bellard.free.fr/tcc/ (LGPL)
>
> tcc is very fast, probably has the most modern C parser of the lot, and
> might even be able to build
On Sat, 2006-Jul-01 10:44:54 +0200, Hans Petter Selasky wrote:
>Yes, but scatter and gather will add extra complexity to the driver, and maybe
>an extra memory copy in most cases. The idea is to allocate less than or
>equal to a page of memory, and then avoid the problem?
The idea is to allocate
Le Saturday 1 July 2006 15:31, Hans Petter Selasky a écrit :
>
> Yes, but don't forget high-speed USB transfers. They require larger
> buffers. For example 1024 bytes for ULPT is too little. The interrupt rate
> will be so high, that it is unrealistic to transfer 20MB/s using 1024 byte
> interrupts
On Saturday 01 July 2006 16:24, Thierry Herbelot wrote:
> Le Saturday 1 July 2006 15:31, Hans Petter Selasky a écrit :
> > Yes, but don't forget high-speed USB transfers. They require larger
> > buffers. For example 1024 bytes for ULPT is too little. The interrupt
> > rate will be so high, that it
There is also NwCC under BSDL but it still not as mature as gcc
http://nwcc.sf.net
--
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
http://www.maslanlab.org
http://libosdk.berlios.de
___
freebsd-hackers@freebsd.org
2006/7/1, Divacky Roman <[EMAIL PROTECTED]>:
afaik tendra doesnt support gnu C extensions and our srcs are full of it
so the only possible compilers ATM are gcc and icc
That's not completely true.
A lot of GCC stubs are masked through macros, so, with a little work
on it, you can successful op
On Saturday 01 July 2006 20:01, Attilio Rao wrote:
> 2006/7/1, Divacky Roman <[EMAIL PROTECTED]>:
> > afaik tendra doesnt support gnu C extensions and our srcs are full of it
> > so the only possible compilers ATM are gcc and icc
>
> That's not completely true.
> A lot of GCC stubs are masked throu
On Sat, Jul 01, 2006 at 08:50:08PM +0300, Maslan wrote:
> There is also NwCC under BSDL but it still not as mature as gcc
> http://nwcc.sf.net
>
"not as mature as gcc" is an amazing understatement. nwcc has
no floating point support.
--
Steve
___
free
On Sat, Jul 01, 2006 at 03:37:55PM -0700, Steve Kargl wrote:
> On Sat, Jul 01, 2006 at 08:50:08PM +0300, Maslan wrote:
> > There is also NwCC under BSDL but it still not as mature as gcc
> > http://nwcc.sf.net
> >
>
> "not as mature as gcc" is an amazing understatement. nwcc has
> no floating poi
On Sun, Jul 02, 2006 at 12:43:24AM +0200, [EMAIL PROTECTED] wrote:
> On Sat, Jul 01, 2006 at 03:37:55PM -0700, Steve Kargl wrote:
> > On Sat, Jul 01, 2006 at 08:50:08PM +0300, Maslan wrote:
> > > There is also NwCC under BSDL but it still not as mature as gcc
> > > http://nwcc.sf.net
> > >
> >
>
2006/7/2, Steve Kargl <[EMAIL PROTECTED]>:
It depends. If nwcc has no knowledge of floating point
registers, then the optimized npx bzero and copyin/copyout
operations aren't available. Nothing like a slow kernel.
Thanks for the trust...
http://www.freebsd.org/projects/ideas/#p-memcpy
Atti
On Sat, Jul 01, 2006 at 10:44:54AM +0200, Hans Petter Selasky wrote:
> > The latest concensus seems to be that the USB system should make use of
> > the scatter-gather facilities in the hardware to avoid the need to
> > allocate large contiguous memory chunks. iedowse@ had mostly finished
> > impl
Quoting "Joseph Koshy" <[EMAIL PROTECTED]> (Sat, 1 Jul 2006 18:24:18 +0530):
> Other bugs with tcc on FreeBSD:
> - Someone reported that a few of our headers don't
> compile with tcc. I haven't tracked down whether
> this is on account of an unsupported Gcc'ism in
> the header or w
19 matches
Mail list logo