2013年7月10日 星期三

Lua TOI

I've worked on a project with Cisco in Silicon Valley for a AP switch product. The project was lasting for 1 ~ 2 years, so I spent quite a while in the US and that really is a great experience no matter on the perspective of working or living there. OK, my tasks there were like many :
1) Figuring out how to run IOS, Cisco's close OS, on a core, while running Linux on the other. It's a Broadcom 963268 solution which is a dual core chip. It involves in very underlying code change like relocating a 2nd CFE which then can run Linux on the 2nd core, and exception-vector split between IOS and Linux, and interrupt-related register control and OS code change, etc.
2) Inter-core communication for two cores to be able to talk to each other by using software interrupts bits as notification, and share memory as a data-change pool.
3) Newly implemented WIFI CLI in Linux which mimics most of what they've already had in IOS for WIFI-related commands. I use Lua, a very handy scripting language, to compose these commands as a user friendly interface which also meets IOS's strict testing criteria.

I summarize the Lua use in a presentation for future reference.

沒有留言:

張貼留言