Data model
#Data model
不同種類的作業系統以及所支援的bit數 (64 or 32 bit), 會有不同的 data model
(https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models)
64-bit 系統 -
driver - 64 bit
Application - 64/32
當 32 bit Application 在傳值給 64 driver 時可能會 overflow
For the migration of 32-bit and 64-bit
stdint.h
int8_t // int16_t
int32_t //32 bit signed integer
uint64_t // 64 bit unsigned integer
Last updated