P4080DS: Is there any way to set byte ordering to little endian?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

P4080DS: Is there any way to set byte ordering to little endian?

972 次查看
yyurtcan
Contributor III

I know that P4080DS is big endian. Can I set byte ordering to little endian? (Like compiler flags or Architecture specific flags).

0 项奖励
回复
1 回复

855 次查看
alexander_yakov
NXP Employee
NXP Employee

P4080 is based on e500mc core. Unlike classic PowerPC devices where you can enable little-endian in MSR register, for e500 cores little-endian is supported on per-page basis, programmed through the TLBs. This is called "embedded little-endian" and defined in Power ISA 2.06. Please look e500mc Core Reference Manual, Section 2.16.6.3, the description of MAS2[E] field.

http://cache.nxp.com/assets/documents/data/en/reference-manuals/E500MCRM.pdf


Have a great day,
Alexander
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复