[Top] [All Lists]

Question about mmap()

To: "" <>
Subject: Question about mmap()
From: Sugi <>
Date: Tue, 04 Sep 2001 11:57:15 -0700
Organization: Sony Electronics

I have a trouble with mmap() in our driver on DDB5477
which use VR5432.  We need to call remap_page_range()
with a non_cached address in mmap().  But it seems to 
be a cached address, because, when user process get 
an address using mmap() and access that address,
that area was cached.
Could you tell me how to get a non_cached address?
# In case of PC arch, it seems OK.

Best Regards,



static int dev_mmap(struct file *file, struct vm_area_start *vma)
                  ((unsigned long)p_my_driverData->base_address),
                  MY_DRIVER_REGISTER_SIZE, vma->vm_page_prot);


         Nobukazu Sugiyama
         DNC. ATC. Sony Electronics Inc.
         tel;858-942-1358   fax;858-942-9000

<Prev in Thread] Current Thread [Next in Thread>