]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/BdsLib/BdsLinuxFdt.c
ArmPkg/BdsLinuxFdt.c: Introduce cpu_to_fdtn() function.
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 12 May 2013 23:55:22 +0000 (23:55 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 12 May 2013 23:55:22 +0000 (23:55 +0000)
commit8255c56957718bc2f43c68cbb90d4ffe14d7437f
tree19863aa3cb7efa0714952b60aa843d517096b1db
parentcc9f215770a96fcbb897afb7f598f02d329a5955
ArmPkg/BdsLinuxFdt.c: Introduce cpu_to_fdtn() function.

Introduce cpu_to_fdtn() function which will call the appropriate 32-bit
or 64-bit version based on the size of a native integer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14350 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/BdsLib/BdsLinuxFdt.c