
16 Jul
2009
16 Jul
'09
5:42 p.m.
Dear Scott Wood,
In message 4A5F4913.5030808@freescale.com you wrote:
So how do you propose that illegal divide operations be reported to the application?
In the same way as Linux is doing it (i. e. usually nothing at all) ?
What is so unreasonable about having a function to print a message and dump registers?
We didn't need one for the so far. What exactly do we need it for now?
You could even make it a weak symbol that stays at NULL, so any attempt to call it will trap that way (assuming NULL pointers are trapped in U-Boot on that architecture...).
As you know, they are not.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The shortest unit of time in the multiverse is the News York Second,
defined as the period of time between the traffic lights turning
green and the cab behind you honking.
- Terry Pratchett, _Lords and Ladies_