The src/dev/arch split isn't really to separate out those files, it's
more to separate out the generic devices or portions of devices from
the ISA specific parts. To attempt to answer your actual question,
though, those files are basically implementing the (a) chipset for
that ISA. You don't need to exactly duplicate the structure that Alpha
or any other ISA used, you just need to provide similar functionality
appropriate for the platform you're implementing. I think that boils
down to interrupts and how PCI and IO space are mapped into the
address space, although I haven't looked at it in a while. The easiest
thing to do for interrupts would be to use the system Alpha and SPARC
use where there's a bit of magic getting the interrupt from the device
to the consuming CPU. Alternatively, you could use something like x86
uses and which I hope other ISAs start to use where interrupts are
propogated as messages in the memory system.
The short answer is, find a platform the workloads you want to run can
use and then see if it's documented. If not, rinse and repeat. Chipset
manufacturer's websites might have a pdf you can download.
Gabe
Quoting Timothy M Jones <[email protected]>:
Hi everyone,
I'm (slowly) trying to get full system support for Power ISA
implemented. I've got to the point where I'm trying to build up a
system to initialise. I see for other architectures there are files
in src/dev/arch that build a pci chip, cchip and IO space mapping.
Could someone tell me where I could start looking for information
that I can use to build these files for the Power architecture?
Basically, how did you find out this information for other
architectures and I'll use a similar method for Power. At the
moment I have no idea where to start!
Cheers
Tim
--
Timothy M. Jones
http://homepages.inf.ed.ac.uk/tjones1
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev