Parent: 49e8b525bf6c11e16de6ea18c38ddfc49be2506b
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-03-06 11:43:02
Tree: 5e608c402c7648f4d986451258c9ada7773d7c1b
core: Store EDiv and Rand as logical integers This patch acknowledges the endianess of ediv and rand as they are received from the kernel and stores them as logical decimal integers in storage. This involves converting to little endian before passing to the kernel and from little endian after receiving from the kernel.
Diffstat
| M | lib/mgmt.h | | | 2 | +- |
| M | src/adapter.c | | | 38 | ++++++++++++++++++++++- - - - - - - - - - - - - - - - |
2 files changed, 23 insertions(+), 17 deletions(-)