ACC Release Notes for the B.03.01 Release

38
Advanced Communications Controller Release Notes for the B.03.01 Release
Major Enhancements and New Features
Major Enhancements and New Features
32/64-bit Support
This release comes with 32-bit and 64-bit versions of ACC
software. Depending on the target system OS, the compatible
version will be selected automatically during ACC software
installation.
The 32-bit ACC software is compatible across PA-RISC 1.1 and
2.0 architecture, and is supported on both 32-bit and 64-bit
HP-UX 11.00. The 64-bit software can only run on PA-RISC 2.0
64-bit (the wide mode), running 64-bit HP-UX 11.00.
Both 32-bit/64-bit API libraries are supplied in the ACC
Protocols for Application Developers software. This allows
cross-platform development for 32 and 64-bit applications. The
32-bit API library is installed in the default directory /usr/lib,
and the 64-bit API library is installed in /usr/lib/pa20_64
which is the default directory searched by ld during 64-bit
linking.
All of the user-accessible data structures are re-designed to be
32/64-bit neutral. For example, they give same size and similar
layout in both 32/64-bit compilation. This makes a 32-bit
application compatible with both 32/64-bit ACC, and it also
minimizes the effort to develop a 64-bit clean application. That
is, a single source code can be used to generate 32-bit and
64-bit executables when compiled in 32 and 64-bit modes.
ACC applications developed for previous releases (B.02.xx)
must be recompiled and relinked in 32-bit mode, using the
revised include files and libraries. This release is carefully
designed to be source code compatible with well-behaved
applications of previous releases (using sizeof() for data
structure sizes and no assumption on the position of a field
with data structure). Refer to the next section for more
information related to ACC development.