From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FvumT-0006Zk-KA for qemu-devel@nongnu.org; Thu, 29 Jun 2006 07:33:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FvumP-0006UQ-EA for qemu-devel@nongnu.org; Thu, 29 Jun 2006 07:33:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvumP-0006UD-1s for qemu-devel@nongnu.org; Thu, 29 Jun 2006 07:33:53 -0400 Received: from [66.249.92.171] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fvuyw-0005bM-7K for qemu-devel@nongnu.org; Thu, 29 Jun 2006 07:46:50 -0400 Received: by ug-out-1314.google.com with SMTP id j40so254263ugd for ; Thu, 29 Jun 2006 04:33:50 -0700 (PDT) Message-ID: Date: Thu, 29 Jun 2006 13:33:50 +0200 From: "Alessandro Corradi" Subject: Re: [Qemu-devel] SystemC hw simulation in qemu In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18133_31379219.1151580830672" References: <44972B2E.2080903@bellard.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel ------=_Part_18133_31379219.1151580830672 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Can someone help me about this? I've looked at exec.c source for understand how io memory addressment go but i don't know if it's the right place to start. I see that in serial.c source there are IO and memory map function for read and write, and serial_mm_read/write functions use serial_read/write functions. The difference is the base address I see... right? Where I can find this IO address? And there is a serial_mm_init function. Is it used only all emulation except i386 or can I use it for i386 too? In other words... can I use IO memory address for serial port in 386 emulation or not? Thanks Ale Ps: Be patience, I am only a poor student ;) 2006/6/28, Alessandro Corradi : > > > ... The problem is that I write my simple hw, but instead use IOddress > such as 0x378 I need to use memory address, so I can use it in every > virtualizzation (i386, mips etc...). > Where can I look for it? > > Thanks > Ale > ------=_Part_18133_31379219.1151580830672 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Can someone help me about this? I've looked at exec.c source for understand how io memory addressment go but i don't know if it's the right place to start.
I see that in serial.c source there are IO and memory map function for read and write, and serial_mm_read/write functions use serial_read/write functions. The difference is the base address I see... right? Where I can find this IO address?
And there is a serial_mm_init function. Is it used only all emulation except i386 or can I use it for i386 too? In other words... can I use IO memory address for serial port in 386 emulation or not?

Thanks
Ale

Ps: Be patience, I am only a poor student ;)

2006/6/28, Alessandro Corradi <ale.corradi@gmail.com>:

... The problem is that I write my simple hw, but instead use IOddress such as 0x378 I need to use memory address, so I can use it in every virtualizzation (i386, mips etc...).
Where can I look for it?

Thanks
Ale

------=_Part_18133_31379219.1151580830672--