uemura@waikiki.isl.melco.co.jp (Joe Uemura) (06/29/90)
I am writing a block device driver under SunOs4.1 and need to figure out how to do I/O to pages on bp->b_pages when B_PAGEIO is set. Unfortunetely I have no access to kernel source :-( so i would appreciate if anyone could let me know how to convert a pp to a kernel virtual address. I have noticed that page_pptonum(pp) will give me a pfn back but don't know how to get a kernel virtual address from a pfn (a la SVR4 pfntokv). Any pointers to documentation, available kernel functions, sample source (a generic strategy :-)), will be appreciated. Thanks in advance, Joe Uemura