[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need help in 64-bit code



Hi,

Le Fri, 05 May 2006 20:55:07 +0530,
sudheer <urwithsudheer@xxxxxxxxx> a Ãcrit :

> #ifdef CONFIG_64
> *(SysAddr + num_items) = (0xaa55aa55aa000000 + num_items);
> #else
> *(SysAddr + num_items) = (0x11220000 + (num_items));
> #endif
> If it is 64 but system i should assign 64 bit or else 32 bit data.
> Can i have any other option/method ?

If you need to do that, it's almost certain that something's wrong with
your code. You should not need to do that.

Sincerly,

Thomas
-- 
PETAZZONI Thomas - thomas.petazzoni@xxxxxxxx 
http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni@xxxxxxxxx
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature