Common problems
QNX SDP8.0Programmer's GuideDeveloper
With the advent of multiplatform support, which involves non-x86 platforms as well as peripheral chipsets across these multiple platforms, we don't want to have to write different versions of device drivers for each and every platform.
While some platform dependencies are unavoidable, let's talk about some of the things that you as a developer can do to minimize the impact. At BlackBerry QNX, we've had to deal with these same issues—for example, we support the 8250 serial chip on several different types of processors. Ethernet controllers and others are no exception.
Let's look at these problems:
- I/O space vs memory-mapped
- Big-endian vs little-endian
- alignment and structure packing
- atomic operations
Page updated: