Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!hookup!swrinde!elroy.jpl.nasa.gov!ncar!noao!CS.Arizona.EDU!not-for-mail From: psarkar@CS.Arizona.EDU (Prasenjit Sarkar) Newsgroups: comp.unix.bsd Subject: Kernel mapping function question Date: 30 Mar 1994 00:43:57 -0700 Organization: University of Arizona CS Department, Tucson AZ Lines: 16 Message-ID: <2nbajt$qsi@ash.cs.arizona.edu> NNTP-Posting-Host: ash.cs.arizona.edu I posted this to the sun newsgroups but received a deathly silence. Since SunOS 4.1.1 is sufficiently BSDish, I am taking a chance here. I am currently trying to map some user buffers into kernel VM space in SunOS 4.1.1. as part of my class project. I am using the kernel routine bp_mapin but there are many problems even though i am mapping page-sized buffers aligned at page boundaries. Most of the times, only part of the page gets mapped and this leads to kernel crashes. The documentation is not very clear - so if anybody has any experience with the right way to call bp_mapin, I would be very thankful. Also, is there an alternative way to map user addresses to kernel VM space? I do not have any access to SunOS 4.1.1 source code. Thanks, Prasenjit