> Ok, I forgot about 64bit machines. BTW also your '20-' is obviously > _wrong_ because you are supposing that sizeof(long)-sizeof(short) is 2.
Good point
> + unsigned long totalbig __attribute__((packed)); /* Total big memory
> size */
> + unsigned long freebig __attribute__((packed)); /* Available big memory
> size */
That doesnt work on the ARM3
The best I have so far is
struct _foo
{
...
...
}
struct real_foo
{
...
...
char pad [64-sizeof(struct _foo)] __attribute((packed));
}

