On Fri, 20 Oct 2006 22:13:21 +0200
Petter Urkedal <[EMAIL PROTECTED]> wrote:
> I had a quick look at qemu. They have an interface where you register
> memory regions, and then implement read/write operations for those
> regions (see e.g. cirrus_init_common in hw/cirrus_vga.c). It's sounds
> Bochs is similar. The qemu code is quite readable and the emulator is
> easy to use, but they don't have a plug-in interface which I think Bochs
> has, meaning we would have to modify qemu itself.
I think qemu is a fork of bochs, or the other way round.
At least the documentation suggests something like this.
So I assume they use the same PCI "interface"
> I kind of expected we would have to write the PCI bus simulator
> ourselves, since these emulators don't need to interface with real
> hardware. (I read about the PCI bus, but I'm not sure how it looks like
> form the OS.)
This is archtecture depended. From what i've seen sofar on
x86 (resp IA32), PCI is an extension of the memory and I/O
address spaces. The configuration of the PCI bus is done
using a special I/O space address.
I would need to read the kernel code (which i havent done yet)
to know how it is exactly done and how other arch look like.
But i assume we can safely restrict ourselves to x86 for
the moment as the PCI interface of all portable OS is the
same on all architectures.
> Nicolas' concern about the speed may be an issue. If we can launch the
> emulator in the evening and check on it the next day, I think it's still
> useful, but if the emulator depends on the wall-time making sense, then
> we're in trouble.
If we use a non-realtime simulation, then we can fully decouple
it from the real world. I'm actualy less concerned about
simulation time (just let it run, buy a bigger machine if
it's too slow) rather than development time.
> Sorry for the late reply, I had some catching up on the mailing list.
> Thanks for checking Bochs.
No need to appologize. I'm not better at all. Even now, i'm
just selectively reading threads with interesting subjects.
(the other 4000 unread mails are left for after retirement)
Attila Kinali
--
Lotus Notes ist eine verteilte Datenbankapplikation,
als Sample ist eine miese Groupware dabei ;)
-- Lukas Beeler
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)