System Call

1999-11-13 Thread Parthasarathy M. Aji
Dear Sir, How do I set up a system call of my own in the FreeBSD kernel? 1) Do I just change the syscalls.master and my new function and rebuild the entire kernel?. If so where do I put my implementation files? in the same directory as syscalls.master exists? I am new to writing custom system call

Re: How does sio handle full clists?

1999-11-13 Thread Mike Smith
> I've been digging around in the sio driver, trying to find out how it handles > receive interrupts when the clists are full. > > What I think I found (which is why I'm asking) is that if an RX interrupt > occurs, and the clists are full and the driver can't offload all of the > data from the UA

Re: Proposal for the kill-list (userland nfs)

1999-11-13 Thread John Baldwin
On 13-Nov-99 David O'Brien wrote: > On Tue, Oct 05, 1999 at 03:49:31PM -0700, Alec Wolman wrote: >> > Digital Unix, aka Compaq Tru64 Unix, formerly know as DEC OSF/1 >> > supports this syntax. In fact, this is the only syntax it >> > supports, >> > IIRC, so FreeBSD is not the only OS to use it.

readdir_r vs readdir in libc_r?

1999-11-13 Thread Charles Randall
I'm using FreeBSD 3.3-R and have noted that there's a readdir() in libc_r but no readdir_r(). Based on archived messages from last year, it appears that the readir() in libc_r is not reentrant. To access readdir from multiple threads with different DIR entries, it appears that all of the director

Re: readdir_r vs readdir in libc_r?

1999-11-13 Thread Daniel Eischen
Alfred Perlstein has ported this from NetBSD along with pthread_cancel support. I'm suppose to be reviewing it - actually I'm done, I've just got to gather my comments and get back to him. I'll get back to him this weekend. > I'm using FreeBSD 3.3-R and have noted that there's a readdir() in li

Re: Which egcs port should I use?

1999-11-13 Thread Bjoern Fischer
On Fri, Nov 12, 1999 at 09:18:33PM -0800, David O'Brien wrote: > On Sat, Nov 13, 1999 at 03:06:26AM +0100, Bjoern Fischer wrote: > > Which egcs would you recommend, if I want to minimize the hassle to > > switch from that egcs to the FreeBSD4.x native egcs? > > /usr/ports/lang/egcs. It is the on

Re: Which egcs port should I use?

1999-11-13 Thread David O'Brien
On Sat, Nov 13, 1999 at 05:25:45PM +0100, Bjoern Fischer wrote: > I'd like to know whether the ports behave like the native compiler > in -CURRENT. E.g. now I tell Joe User to use -R/vol/foo/lib for .. > And when we switch to the next FreeBSD brach, I tell him that he > has to use something comple

Re: System Call

1999-11-13 Thread Jake Burkholder
> Dear Sir, > How do I set up a system call of my own in the FreeBSD kernel? > 1) Do I just change the syscalls.master and my new function and rebuild > the entire kernel?. If so where do I put my implementation files? in the > same directory as syscalls.master exists? I am new to writing custom s

upcall

1999-11-13 Thread Clinton Xavier Berni
Hello, How do I access a user level data structure from the kernel. Are there any Upcalls that I could use? Xavier To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: System Call

1999-11-13 Thread Ronald G. Minnich
On Sat, 13 Nov 1999, Jake Burkholder wrote: > > How do I set up a system call of my own in the FreeBSD kernel? > > I think the easiest way to do this is with a kld. It's less intrusive yes, if you're doing a system call use freebsd's excellent kld support. It's really pretty slick. Don't mu

Thinkpad 750

1999-11-13 Thread Jonathan Towne
I've got a Thinkpad 750, 2 pc card slots, no cdrom, only a mere 486SL/33 CPU, and 8meg of RAM, and i'm trying to install a copy of 3.3-RELEASE on it to replace win3.11. Since the thinkpad uses an odd keyboard of some sort, i give syscons the 0x2 flag, which fixed the keyboard one time (the only t

How to do source route

1999-11-13 Thread Sunthiti Patchararungruang
Dear Sir, I need to create a program to forward IP packets, already have IP header. All packets have destination in remote network. Therefore, I cannot send them with normal raw-IP-socket. I think I need to do source-route packet sending. However, I don't know how to do it. Please give me the met

Re: Thinkpad 750

1999-11-13 Thread Thierry Herbelot
Jonathan Towne wrote: > > I've got a Thinkpad 750, 2 pc card slots, no cdrom, only a mere > 486SL/33 CPU, and 8meg of RAM, and i'm trying to install a copy* There was a time where you had to have at least 12 megs of RAM to install FreeBSD. You may check the errata and rel