llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-20 Thread Shaowei Wang (wsw)
Hi, hackers! Recently I am playing the clangbsd i386 branch and it works. I've noticed that clang using gcc to linking object code or even doing assembling. clang from FreeBSD perspective will be a whole compiler tool chain or just another C/C++ compiler (may using system's [GNU]as and [GNU]ld) ?

Re: FreeBSD 7.0-RELEASE amd64 on Dell M600 Blade

2009-07-20 Thread Steven Hartland
Did anyone ever get anywhere with this, just retried with 8.0-BETA2 and still the same hangs as depicted in the attached screen shots. Sorry got no serial console :( Would like to get this working if possible so anything I can try to gain some more info on this issue? Regards Steve -

Re: Reading acpi memory from a driver attached to hostb

2009-07-20 Thread John Baldwin
On Saturday 18 July 2009 9:39:38 am Andre Albsmeier wrote: > On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paulo wrote: > > On 18 Jul 2009, at 09:10, Andre Albsmeier wrote: > > > > > On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: > > >> Andre Albsmeier wrote: > > >>> [CC'ing this to Ru

Re: Reading acpi memory from a driver attached to hostb

2009-07-20 Thread Andre Albsmeier
On Mon, 20-Jul-2009 at 14:05:34 +0300, Andriy Gapon wrote: > on 18/07/2009 17:06 Julian Elischer said the following: > > Andre Albsmeier wrote: > >> But in order to attach to acpi0, I need to say > >> > >> DRIVER_MODULE( eccmon, acpi, eccmon_driver, eccmon_devclass, NULL, > >> NULL ); > >> > >> in

vm_map_protect / pmap_protect Can't lower protection

2009-07-20 Thread Andrew Brampton
Hi, I've been playing with memguard(9) and so far it works well until it starts to run out of memory. For those who don't know, memguard is a replacement debugging malloc for the kernel, which is designed to catch use after free errors. It achieves this by setting any free'd pages to read-only, the

Re: add missing content to locking.9 ?

2009-07-20 Thread Ed Schouten
Hi Benjamin, * Benjamin Kaduk wrote: > +.Tn POSIX > +semaphores provide ... it looks like you described the semaphores that are used in userspace. The Semaphores section of the locking(9) man page should describe in-kernel semaphores (kern_sema.c). They are implemented by a mutex and a condition

Re: Reading acpi memory from a driver attached to hostb

2009-07-20 Thread Andriy Gapon
on 18/07/2009 17:06 Julian Elischer said the following: > Andre Albsmeier wrote: >> But in order to attach to acpi0, I need to say >> >> DRIVER_MODULE( eccmon, acpi, eccmon_driver, eccmon_devclass, NULL, >> NULL ); >> >> instead of >> >> DRIVER_MODULE( eccmon, hostb, eccmon_driver, eccmon_devclass

Re: mmap/munmap with zero length

2009-07-20 Thread Mel Flynn
On Sun, 19 Jul 2009 22:13:48 -0800, Mel Flynn wrote: > On Mon, 13 Jul 2009 16:39:09 -0400, John Baldwin wrote: >> On Monday 13 July 2009 3:33:51 pm Tijl Coosemans wrote: >>> On Monday 13 July 2009 20:28:08 John Baldwin wrote: >>> > On Sunday 05 July 2009 3:32:25 am Alexander Best wrote: >>> >> so