BusyTraveller BusyTraveller - 8 months ago 45
Linux Question

Whether Endianness is a property or hardware or software?

I have read that Intel and AMD follows little endian concept. Whether it is a property of hardware alone, or OS can override it ? I am telling this because processor serial number I am getting from windows and linux are in opposite order.


The endianess is based on hardware only.OS cannot overwrite it since it is the order in which data is written/ read from/to hardware. You might be getting the number in opposite order because the driver you are using might be swapping the bytes for you.