On Fri, Mar 12, 2004 at 08:25:23AM -0600, Kumar Gala wrote: > > Look in u-boot. They have some user commands that allow > reading/writing dcr's. These commands are written with self modifying > code, I would recommend that we reuse that. >
I would not. Kumar, I'm aware of code in u-boot :). Did you read this code comment ? It clearly states that is not efficient. It may be OK for a boot loader, because nobody cares much about it performance. Let me repeat my point. I _do_ know how to write self-modifying code, I don't _like_ this approach mostly because it's not very efficient. Eugene. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
