is it possible to get the information (in some ugly hackish way) at
this stage? i.e. is the information available in the the blob that
could be accessed via sysinfo?

Well, the information is there, but it still needs some work to do. There is unfortunately no reliable simplified way, you have to decode it properly.

You need to traverse the device tree (which is mapped under the "firmware" node in sysinfo) and find nodes with a "compatible" property indicating that it is a PCI bus. Then you have to decode the data from the "ranges" property -- there are several records for multiple memory ranges, each containing a flag indicating the kind of memory range (you are looking for I/O range) and the range itself.


M.D.

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to