Re: How to pin a userland page in memory(avoid copyin and copyout)

2006-01-31 Thread Dipjyoti Saikia
On 1/31/06, Bharma Ji <[EMAIL PROTECTED]> wrote: > > Hi > I am trying to explore the option avoiding copyin and copyout when mode > switches from user to kernel and vice versa. One way to achieve this, as I > understand, is to make the memory address (which contain the data to be > copied) non page

Looking For Memory Management/Kernel Timing Details in FREE BSD

2005-04-06 Thread Dipjyoti Saikia
Hi, Can any one guide me to appropriate place to start going through Free BSD mem. management/kernel timing management code . Thanks Dip ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscri

What is the best way to introduce delay in kernel ?

2005-04-12 Thread Dipjyoti Saikia
Hi , I am writing a device driver and using DELAY() to intoduce delays in my code .Are there any better ways of doing the same for FreeBSD 4.10 ? Thanks Dip ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

MDELAY()

2005-04-12 Thread Dipjyoti Saikia
Hi, Can any one help me out with a better Implementation of MDELAY() in FreeBSD kernel 4.10 Thanks Dip ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTEC

Re: MDELAY()

2005-04-15 Thread Dipjyoti Saikia
queues etc) in Free BSD . ---Dip On 4/13/05, Brooks Davis <[EMAIL PROTECTED]> wrote: > On Wed, Apr 13, 2005 at 02:33:22AM +0530, Dipjyoti Saikia wrote: > > Hi, > > > > Can any one help me out with a better Implementation of MDELAY() in > > FreeBSD kerne

Re: PCI Programming

2005-04-29 Thread Dipjyoti Saikia
Hi, The normal usage of pci_resource_start() in Linux is to get the base address of the BAR for further reads/writes using inb/outb etc. In Free BSD you can use the following : bus_alloc_resource(); rman_get_bustag(); rman_get_bushandle(); Usually the ret value of rman_get_bushandle() giv

NMI handlers ??

2005-06-03 Thread Dipjyoti Saikia
Hi, I am working on IPMI watchdog implementation . The problem that I am facing is that in case of improper system shutdown or powerfail the watchdog keeps running and the next time system boots up , BIOS complains of FRB2 timeout and fails one of the CPU's ( Working on SMP system ) . My idea i

thread-safe popen

2005-07-05 Thread Dipjyoti Saikia
Hi, I am working on an OS derived for BSD 4.1 . I am trying to backport a thread-safe version of popen() from BSD 4.10 . My plan is to create a file in libc_r/uhtread as uthread_popen.c which will contain the thread safe version of the code . The problem I am facing while building the libraries

Re: thread-safe popen

2005-07-06 Thread Dipjyoti Saikia
handpicked the popen() calls and replaced it with actual code of the functions but it was simply too much work and little gain . So we decided to backport a thread-safe version . (If the above code is not thread-safe then we will have a bigger problem at hand .) --Dip On 7/5/05, Dan Nelson <