Date: Fri, 17 Jul 2009 13:50:14 +0200 (CEST) From: Kolja Waschk In-Reply-To: <4A5F9E8A.3010906@domain.hid> Message-ID: References: <4A5D88E9.2010305@domain.hid> <4A5F9E8A.3010906@domain.hid> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: "Kolja Waschk,,," Subject: Re: [Xenomai-help] rtdm_mmap_to_user without MMU Reply-To: Kolja Waschk List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: xenomai@xenomai.org > they will become two in the end), see below. Please check if it works > for you. Aah, I was checking too hastily and missed a compile error. Sorry! Actually, there's a typo in the get_unmapped_area (filp <-> file), and it does _not_ work this way, unless the address to map is specified as the offset when calling do_mmap: user_ptr = (void *)do_mmap(filp, (unsigned long)*pptr, len, prot, MAP_SHARED, mmap_data->src_vaddr); Otherwise pptr will simply remain zero. Kolja