Re: m68k: trying accessing fb memory
Daniel Glöckner <[email protected]>
| Newsgroups | gmane.linux.uclinux.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 13, 2012 at 03:20:46PM +0100, angelo wrote:
> if (!(capabilities & BDI_CAP_MAP_DIRECT))
> {
> --> printk (KERN_INFO "ENODEV 2\n");
> --> return -ENODEV;
> }
>
>
> So, as i explained, i cannot have BDI_CAP_MAP_DIRECT for this
> architecture, and the mmap call using MAP_SHARED fails.
You can have BDI_CAP_MAP_DIRECT for this architecture.
You just need to define HAVE_ARCH_FB_UNMAPPED_AREA and implement
get_fb_unmapped_area. Take a look at the Blackfin implementation
of this function. It might work without modification on m68k-nommu.
Daniel
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev