Hi,
In the previous "sigma0" version, for IO Address mapping, we can add "static Region_instance< start physical address, size, > name;"
and then "memmap.add_region &name)"; makes the region available. But now, sigma0 implementation is changed a lot.
How can I make a IO Address Region and then add it to sigma0??
On Wed, 2007-01-31 at 06:55 +0900, WanKeun Jo wrote:
Hi,
In the previous "sigma0" version, for IO Address mapping, we can add "static Region_instance< start physical address, size, > name;"
and then "memmap.add_region &name)"; makes the region available. But now, sigma0 implementation is changed a lot.
You are right, it is a complete new implementation.
How can I make a IO Address Region and then add it to sigma0??
You should no longer need to add an IO region, the new sigma0 handles any physical address other that known RAM as IO memory and maps the memory to the first requester.
So just request the IO memory from sigma0 using l4sigma0_map_iomem from libsigam0 (http://os.inf.tu-dresden.de/l4env/doc/html/libsigma0/group__sigma0.html)
l4-hackers@os.inf.tu-dresden.de