Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE

Dependents:   ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ncg_memory.c Source File

ncg_memory.c

00001 /******************************************************************************
00002 * Copyright(c) 2010-2012 Renesas Electronics Corporation. All rights reserved.
00003 *
00004 * brief  : NCG memory operation functions.
00005 *
00006 * author : Renesas Electronics Corporation
00007 *
00008 * history: 2013.06.25
00009 *          - Changed for RGAH
00010 *          2010.10.08
00011 *          - Created the initial code.
00012 *          2012.08.23
00013 *          - Created the initial code.
00014 *          2014.12.22
00015 *          - Applied to OSPL and RGA.
00016 *
00017 *******************************************************************************/
00018 
00019 /*=============================================================================
00020  * Includes
00021  */
00022 
00023 #include "Project_Config.h"
00024 #include "ncg_defs.h"
00025 #include "ncg_memory.h"
00026 
00027 #ifdef  RGAH_VERSION
00028 
00029 /*=============================================================================
00030  * Internal definitions
00031  */
00032 
00033 
00034 /*----------------------------------------------------------------------------
00035  NAME       : NCGSYS_CPUVAddrToSysPAddr
00036  FUNCTION   : Get the system physical address of the given host memory block.
00037  PARAMETERS : ui32CPUAddr  : [IN ] The address of the host memory area.
00038  RETURN     : Phy.
00039 ------------------------------------------------------------------------------*/
00040 NCGuint32
00041 NCGSYS_CPUVAddrToSysPAddr (
00042     NCGuint32   ui32CPUAddr )
00043 {
00044     NCGuint32   ui32Ret_addr;
00045 
00046     ui32Ret_addr = ui32CPUAddr;
00047 
00048     return ui32Ret_addr;
00049 }
00050 
00051 
00052 #endif
00053 /* -- end of file -- */