[OpenBIOS] [PATCH] ppc: Move noreturn attribute

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Oct 18 13:19:23 CEST 2010


Blue Swirl wrote:

>> Most problems were caused by the assumption that a conversion between ucell
>> und void* is possible; I added (unsigned long) casts or reused the
>> cell2pointer/pointer2cell macros.
> 
> Those should be merged with kernel/cross.h ones and used everywhere.

Indeed. Is there a way we can make the compiler throw an error if 
(u)cells are assigned directly to pointers for everyone?


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list