Go to main content

Writing Device Drivers for Oracle® Solaris 11.3

Exit Print View

Updated: March 2019

x86 Processor Issues

Data types have no alignment restrictions. However, extra memory cycles might be required for the x86 processor to properly handle misaligned data transfers.

Note - Drivers should not perform floating-point operations, as these operations are not supported in the kernel.

x86 Byte Ordering

The x86 processors use little-endian byte ordering. The least significant byte (LSB) of an integer is stored at the lowest address of the integer. The most significant byte is stored at the highest address for data items in this processor. For example, byte 7 is the most significant byte for 64-bit processors.

image:Diagram shows how bytes are ordered in little-endian architectures, that is, byte 0 is the least significant byte.

x86 Architecture Manuals

Both Intel Corporation and AMD publish a number of books on the x86 family of processors. See Intel Home Page (https://www.intel.com/content/www/us/en/homepage.html) and AMD Home Page (https://www.amd.com/en).