Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

uint32_t scc_virt_to_phys ( void *  address  ) 

Calculate the physical address from the kernel virtual address.

Parameters:
address Kernel virtual address of data in an Secure Partition.
Returns:
Physical address of said data.

Definition at line 424 of file scc2_driver.c.

Referenced by sah_Make_Links(), and sah_Physicalise_Links().

{
      return (uint32_t) address - (uint32_t) scm_ram_base
          + (uint32_t) scm_ram_phys_base;
}


Generated by  Doxygen 1.6.0   Back to index