Date: Fri, 30 Mar 2001 09:38:31 -0800 From: "Chris Ptacek" <chris@ptacek.net> To: <freebsd-hackers@freebsd.org> Subject: Page Fault problem with my KLD Message-ID: <001301c0b940$3d48ca80$cafba8c0@sitaranetworks.com>
next in thread | raw e-mail | index | archive | help
I am developing a KLD and I am having problems getting a page fault. I am using a set "library" (basically a set of third party object files I build and then link in). This libarary requires its own chunk of memory that it manages and needs to be passed a pointer to that memory (and the size) when it is initialized. So during my load phase I malloc the memory (14M), at this point I can traverse the memory just fine using a for loop writing and reading from it as a test. However once I pass this memory into the "library" to use, I get a page fault error. Is there something I am missing here? What would be the possible causes of the page fault? Any and all help would be appreciated and if you could CC this account I would appreciate it (my FreeBSD mailing list subscriptions are from another account). - Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c0b940$3d48ca80$cafba8c0>