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