From: Ronald G. M. <rmi...@la...> - 2005-03-28 15:37:49
|
On Sun, 27 Mar 2005, Keir Fraser wrote: > Already the field offset comments are broken in a few places in unstable, so > perhaps this is a better way to go. it's an idea. A few years ago I wrote drivers for SCI and had a mixed linux/alpha freebsd/pentium cluster. It's a little tricky to get everyone happily addressing each other's memories across that boundary, but I did it by making all struct fields unsigned long long and letting the compilers do the right thing. I didn't use a single __attribute__ directive, but at the same time, these fairly different machines with different OSes had shared memory. I still don't see why xen can not do the same. ron |