From 0a393c6553b39d9264ae0aab713312772feb2efb Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 27 Aug 2008 19:37:23 +0000 Subject: [PATCH] Added item about epicsEndian.h. --- documentation/RELEASE_NOTES.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/documentation/RELEASE_NOTES.html b/documentation/RELEASE_NOTES.html index 872b63d32..4386eb05f 100644 --- a/documentation/RELEASE_NOTES.html +++ b/documentation/RELEASE_NOTES.html @@ -12,6 +12,19 @@

Changes between 3.14.9 and 3.14.10

+

New epicsEndian.h header

+ +

Any C or C++ code can #include "epicsEndian.h" which defines four +macros. The main one is EPICS_BYTE_ORDER and is defined to be either +EPICS_ENDIAN_LITTLE or EPICS_ENDIAN_BIG (these are numeric constants 1234 and +4321 respectively). The fourth macro is called EPICS_FLOAT_WORD_ORDER and is +needed because some ARM systems use mixed-endian format floats.

+ +

Note that just knowing the CPU's endianness doesn't tell you the complete +story about the byte order that your hardware registers will present to the CPU; +byte swapping is often performed automatically by PCI to VME bridge devices and +by other kinds of bus converter, so "portable" drivers aren't always.

+

Array Subroutine Record added (aSub)

A heavily modified version of Andy Foster's genSub record type has been