Size limits for kld's?

2000-08-13 Thread Isaac Waldron
AFAIK, that error would be caused by an EFAULT being returned somewhere in the chain. What I'm asking is, what would cause some of the functions referenced by my driver's cdevsw to not be able to be called? Are there size limits on functions in a kld? Or a limit on the total size of

Re: Best way to lock malloc'd memory in kernel

2000-07-28 Thread Isaac Waldron
le. I guess I should ask whether that holds true for kernel modules as well, because that's what I'm actually writing. Thanks again, Isaac Waldron waldroni at lr dot net To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Best way to lock malloc'd memory in kernel

2000-07-28 Thread Isaac Waldron
I'm writing a device driver for plex86 (the FreeMWare virtual machine software), and have a buffer that needs to be non-pageable. It was malloc'd with the malloc(size, type, flags) kernel malloc function. What's the best way to make this memory unpageable? Thanks in advance

Writing device drivers (ioctl issue)

2000-07-26 Thread Isaac Waldron
e ioctl structure slightly and therefore need to change some of the higher level functions in plex? Thanks in advance, Isaac Waldron waldroni at lr dot net To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message