Hi, In my project, I have defined two io memory ressources as devices. I want connect these two devices to vbus. "io_bus.gpt2" is actually connected to vbus. But is it possible to also connect "io_bus.intc" to vbus ? local name = "l4rtos"; local DeviceFile = "beagle.devs" local IOFile = "beagle.io" local loader = L4.default_loader; local io_bus = { gpt2 = loader:new_channel(); intc = loader:new_channel(); }; loader:start({ caps = { gpt2 = io_bus.gpt2:svr(), intc = io_bus.intc:svr(), icu = L4.Env.icu, sigma0 = L4.cast(L4.Proto.Factory, L4.Env.sigma0):create(L4.Proto.Sigma0), }, }, "rom/io rom/" .. DeviceFile .. " rom/" .. IOFile); loader:start( { caps = { vbus = io_bus.gpt2, icu = L4.Env.icu, log = L4.Env.log:m("rws"), }, }, "rom/" .. name); Regards, Pierre Larus
On Wed Jun 13, 2012 at 14:51:54 +0200, Pierre Larus wrote:
In my project, I have defined two io memory ressources as devices. I want connect these two devices to vbus. "io_bus.gpt2" is actually connected to vbus. But is it possible to also connect "io_bus.intc" to vbus ?
You have to put both devices into the same System_bus in your io config, then it just one vbus to handle in the start script. Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
participants (2)
-
Adam Lackorzynski -
Pierre Larus