Thursday, March 08, 2007


Object oriented programming speaks of Objects and classes. Classes have operations and attributes.. How can we exploit this for Embedded baseport environment?
Operations: read/write/ioctls etc
Attributes: variants accross boards and silicons: such as base address, Chip selects etc..
Values: the initializing value for the driver creating this..
benefits: portability..
linux already has something of this sorts: resource structure.. only, it can be extended to a larger extent.

OMAP has IP Blocks.. such as i2c controllers, DMA4 controllers etc... we can use the above concept to create "in theory" a highly portable model.

No comments: