* [Qemu-devel] Who call I/O cpu_in*/cpu_out*?
@ 2006-08-03 16:29 Alessandro Corradi
0 siblings, 0 replies; only message in thread
From: Alessandro Corradi @ 2006-08-03 16:29 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
Hello,
This is what I understand:
In vl.c code:
-In qemu initialization will be create and initialize a table in which there
are I/O read/write function corresponding to I/O address.
-When emulated devices are inizialited they register IO function in this
table, in this way it can be called when an instruction want to access at
this address-device right?
-These function are called by cpu_write{b|w|l} in case of byte/word/long.
I suppose when there is an instruction op-code regards IO there is a
mechanism that calls these function. Can you say me where it does this?
Thank you
Ale
[-- Attachment #2: Type: text/html, Size: 628 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-03 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-03 16:29 [Qemu-devel] Who call I/O cpu_in*/cpu_out*? Alessandro Corradi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).