lkml.org 
[lkml]   [2009]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Mapping non-page aligned data to user
Date
Vira <sri1369_s@yahoo.com> wrote:

> Is there a way to map a non-page aligned kernel physical address to user
> virtual address? remap_pfn_range and vm_insert_page operate only on
> page-aligned physical addresses.
>
> If there is no such support, would it be too complicated to try out
> writing something on my own to map non-page aligned addresses (the data
> size is under my control - so I can make that a multiple of page size)?
>
> Any suggestions appreciated.

It can only be done using segmented memory, and you don't want that.



\
 
 \ /
  Last update: 2009-02-06 10:37    [W:0.047 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site