This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to add 'peek' and 'poke' commands to redboot.


Ian Campbell wrote:
The attached patch adds 'peek' and 'poke' commands to redboot for
accessing and bit bashing I/O space.

I'm not sure which processors other than x86 have a separate I/O address
space, but I figured this was still the correct place for the commands
rather than in the i386 HAL.

Not many other than x86 certainly. But there's certainly no point having these commands for targets that don't need it. Perhaps it could be controlled by a cdl_interface? Or perhaps even just be default off and turned on by the relevant redboot*.ecm's ?


Finally for new commands a bit of documentation would be great :-). See redboot's doc directory.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]