lkml.org 
[lkml]   [2009]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectalacrityvm-next: clearly specify ioq endianness
Date

This is a respin of the previous patch series against alacrityvm.git's
linux-next branch, to facilitate easier merging with the linux-next tree.

The SHM_SIGNAL and IOQ code is meant to be used for communication channels
between systems with different bit widths and operating systems.
Conceivably, this could include systems with different endianness as well,
for example, using QEMU on x86 to emulate a powerpc.

This patch series annotates all shared structures as little endian, and
fixes up all users. This means that there is no overhead in the most common
case, x86-on-x86. The byteswaps compile out.

[RESEND: added LKML to CC per Greg Haskins' request]

drivers/net/vbus-enet.c | 36 ++++++++++++++++++------------------
drivers/vbus/bus-proxy.c | 2 +-
drivers/vbus/pci-bridge.c | 18 +++++++++---------
include/linux/ioq.h | 24 ++++++++++++------------
include/linux/shm_signal.h | 8 ++++----
lib/ioq.c | 28 ++++++++++++++++------------
6 files changed, 60 insertions(+), 56 deletions(-)

Thanks,
Ira


\
 
 \ /
  Last update: 2009-12-08 22:01    [W:0.068 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site