Am 24.06.2014 23:27, schrieb Adam Lackorzynski:
So setting the name is possible. It should work like this: client0 = Io.Vi.System_bus(function () _self["x.y"] = wrap(...); end),
with table style it looks a bit cleaner: client0 = Io.Vi.System_bus{ ["x.y"] = wrap(...), };
(I'm not sure it works with the _self syntax for you).
_self does not work:
io | rom/arm-rv.io: error executing lua config: rom/arm-rv.io:18: attempt to index global '_self' (a nil value)
table style does not work either: l4linux is at booting, but card is not probed.
There must be some dark mystery in the old configuration %)
I've attached the old (working) and new configuration for use with the L4Linux ARM example (Realview ARM9 on qemu). (smsc911x driver was added to linux kernel).
Martin