-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch usage of unaligned.h to sg_unaligned.h
git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools@4727 4ea69e1a-61f1-4043-bf83-b5c94c648137
- Loading branch information
dpgilbert
committed
Apr 16, 2018
1 parent
2cacd3d
commit a134603
Showing
10 changed files
with
646 additions
and
415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
$Id$ | ||
|
||
2018-04-16 Douglas Franke <[email protected]> | ||
|
||
switch usage of unaligned.h to sg_unaligned.h which are functionally | ||
the same. sg_unaligned.h is the same header used by libsgutils which | ||
is the basis of the sg3_utils, sdparm and ddpt packages available on | ||
many of the same architectures as smartmontools is. This change | ||
introduces a "sg_" prefix on the inline functions defined | ||
sg_unaligned.h . The new header has specializations for big and little | ||
endian machines that depends on the non-standard bswap_16(), bswap_32() | ||
and bswap_64() calls that are defined in the byteswap.h header which is | ||
a GNU extension. According to the 'net both gcc and clang use intrinsics | ||
{assembler ?} to implement these calls. If the byteswap.h header is not | ||
present on the build machine, the generic implementations will be | ||
used for the "unaligned" family of functions. Additionally the generic | ||
implementations can be imposed with './configure --disable-fast-lebe'. | ||
Developers may need to use './autogen.sh' prior to their normal build | ||
sequence. Please report any problems to the author. | ||
|
||
2018-03-28 Christian Franke <[email protected]> | ||
|
||
ataprint.cpp, nvmeprint.cpp, scsiprint.cpp: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.