[OpenBIOS] testing Max OS X boot on latest trunk (revision 1080)

Tarl Neustaedter tarl-b2 at tarl.net
Sun Dec 23 05:46:59 CET 2012


On 2012-Dec-22 23:38 , Programmingkid wrote:
>> >I also like still allowing internal C divisions to invoke the processor divide by zero traps, as it's very useful at pointing out when you've forgotten to set something rather than carrying on with an erroneus result. Do people think this is an acceptable solution?
> What if someone made their program knowing that division by zero is equal to zero? This is the behavior that Apple's Open Firmware follows. I think we should follow it for the PowerPC target.

That would be incorrect, by all standards. Indeed, Solaris uses divide 
by zero as a fatal error indicator during the boot process, knowing it 
will trap.




More information about the OpenBIOS mailing list