Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GEpJO-00023V-Jg for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:34:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GEpJE-00020Y-D7 for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:34:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEpJE-00020U-7b for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:33:56 -0400 Received: from [209.191.124.138] (helo=web38111.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1GEpQO-0005mQ-54 for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:41:21 -0400 Message-ID: <20060820153341.57233.qmail@web38111.mail.mud.yahoo.com> Date: Sun, 20 Aug 2006 08:33:41 -0700 (PDT) From: Tieu Ma Dau In-Reply-To: <200608201501.47543.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-823679957-1156088021=:45517" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Asking about testing new added device 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@nongnu.org --0-823679957-1156088021=:45517 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I use Qemu to simulate ARM system. I add a simple LED device at IO port address 0x1b000000 (because this address is marqued "reserved" in IntegratorCP documentation). So to test this LED device, I write an application and also a driver which use the function: outb(0x1b000000, 65); But I can not execute this function. I also found that to execute this function, I must execute the function iopl() or ioperm() ; but I think that there is not these function for ARM target because I try to include sys/io.h , but the compiler for ARM target did not find these included files. Do you have any ideas? Thanks a lot for your responses. Tieu --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. --0-823679957-1156088021=:45517 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi all,
I use Qemu to simulate ARM system. I add a simple LED device at IO port
address 0x1b000000 (because this address is marqued "reserved" in
IntegratorCP documentation).
So to test this LED device, I write an application and also a driver
which use the function:
outb(0x1b000000, 65);
But I can not execute this function.
I also found that to execute this function, I must execute the function
iopl() or ioperm() ; but I think that there is not these function for
ARM target because I try to include sys/io.h , but the compiler for ARM
target did not find these included files.
Do you have any ideas?
Thanks a lot for your responses.
Tieu


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta. --0-823679957-1156088021=:45517--