Lcd companion boards support (VKLCD50RTA & VKLCD70RT)

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RGA_Callback_WorkBuf.c Source File

RGA_Callback_WorkBuf.c

Go to the documentation of this file.
00001 /*******************************************************************************
00002 * DISCLAIMER
00003 * This software is supplied by Renesas Electronics Corporation and is only
00004 * intended for use with Renesas products. No other uses are authorized. This
00005 * software is owned by Renesas Electronics Corporation and is protected under
00006 * all applicable laws, including copyright laws.
00007 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
00008 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
00009 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
00010 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
00011 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
00012 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
00013 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
00014 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
00015 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
00016 * Renesas reserves the right, without notice, to make changes to this software
00017 * and to discontinue the availability of this software. By using this software,
00018 * you agree to the additional terms and conditions found by accessing the
00019 * following link:
00020 * http://www.renesas.com/disclaimer
00021 * Copyright (C) 2013 - 2015 Renesas Electronics Corporation. All rights reserved.
00022 *******************************************************************************/
00023 /**
00024 * @file  RGA_Callback_WorkBuf.c
00025 * @brief   $Module: RGA $ $PublicVersion: 1.20 $ (=RGA_VERSION)
00026 * $Rev: $
00027 * $Date::                           $
00028 */
00029 
00030 #include  <string.h>
00031 #include  "RGA.h"
00032 #include  "RGA_Callback_private.h "
00033 
00034 
00035 /** gs_WorkBufferMemory */
00036 
00037 /* <MapSection attribute="Uncachable"/> */
00038 /* .WORK_SECTION1 is for only R_REE_INIT. This is ignored in other environments. */
00039 R_OSPL_ALIGNMENT( RGA_WORK_BUFFER_ADDRESS_ALIGNMENT,
00040                   R_OSPL_SECTION_FOR_ZERO_INIT( "NC_BSS",
00041                           static uint8_t  gs_WorkBufferMemory[ WORK_BUFFER_SIZE ] ));
00042 
00043 
00044 /** gs_WorkBufferB_Memory */
00045 
00046 R_OSPL_ALIGNMENT( RGA_WORK_BUFFER_B_ADDRESS_ALIGNMENT,
00047                   static uint8_t  gs_WorkBufferB_Memory[ WORK_BUFFER_B_SIZE ] );
00048 
00049 
00050 /**
00051 * @brief   Get Memory of RGA WorkBuffer
00052 *
00053 * @param   out_WorkBufferAddress uint8_t*
00054 * @param   out_WorkBufferSize size_t
00055 * @param   out_WorkBufferB_Address uint8_t*
00056 * @param   out_WorkBufferB_Size size_t
00057 * @return  None
00058 */
00059 void  R_MEMORY_SECTION_GetMemory_RGA_WorkBuffer(
00060     uint8_t **out_WorkBufferAddress,  size_t *out_WorkBufferSize,
00061     uint8_t **out_WorkBufferB_Address,  size_t *out_WorkBufferB_Size )
00062 {
00063     *out_WorkBufferAddress = gs_WorkBufferMemory;
00064     *out_WorkBufferSize = sizeof( gs_WorkBufferMemory );
00065     *out_WorkBufferB_Address = gs_WorkBufferB_Memory;
00066     *out_WorkBufferB_Size = sizeof( gs_WorkBufferB_Memory );
00067 }
00068 
00069 
00070