Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 16 Jan 2004 10:08:21 +0000 (GMT) Received: from ftp.mips.com ([IPv6:::ffff:206.31.31.227]:11143 "EHLO mx2.mips.com") by linux-mips.org with ESMTP id ; Fri, 16 Jan 2004 10:08:20 +0000 Received: from newman.mips.com (ns-dmz [206.31.31.225]) by mx2.mips.com (8.12.10/8.12.10) with ESMTP id i0GA1XX6005084; Fri, 16 Jan 2004 02:01:33 -0800 (PST) Received: from grendel (grendel [192.168.236.16]) by newman.mips.com (8.9.3/8.9.0) with SMTP id CAA21101; Fri, 16 Jan 2004 02:08:10 -0800 (PST) Message-ID: <014a01c3dc18$c92b74a0$10eca8c0@grendel> From: "Kevin D. Kissell" To: "Suresh. R" , References: <40079391.7080301@mistralsoftware.com> Subject: Re: VR4131 - MQ1132 - UPD63335 Date: Fri, 16 Jan 2004 11:09:09 +0100 Organization: MIPS Technologies Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3996 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: kevink@mips.com Precedence: bulk X-list: linux-mips If I recall correctly, WinCE runs drivers and system services in User mode, so any memory-mapped I/O would need to be set-up explicitly in the virtual address space. As Geert has pointed out, so long as it's in that first 512MB, a Linux driver running in Kernel mode can access it directly via Kseg1 (or Kseg0, if you wanted to be able to cache the data). ----- Original Message ----- From: "Suresh. R" To: Sent: Friday, January 16, 2004 8:32 Subject: VR4131 - MQ1132 - UPD63335 > Hi, > This might be a very basic question, but I am very new to this field. > So please help me. > > I am writing a linux device driver for UPD63335 audio codec. Its > controlled through the MQ1132 co-processor. The VR4131 is the processor. > The memory of MQ1132 is mapped to the processor memory in Kseg1 (0xA000 > 0000 onwards) which the manual says is TLB Unmapped region. Now my > question is is it necessary to map this region before using it in Linux. > Actually I have WinCE code for my reference. In that code the programmer > is mapping the region using Virtual Cpoy and Virtual Alloc. Is it > necessary to do that or Can I directly address the memory locatoin. > > Please help > > Thanks in advance > > Regards > Suresh > > >