From 8631d7b7a1b28547b74d5239eb2c05e65afa1289 Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Fri, 9 Oct 2015 03:51:43 -0700 Subject: [PATCH] hdcp1x: Added example _g.c file. Signed-off-by: Andrei-Liviu Simion Acked-by: Shadul Shaikh --- .../drivers/hdcp1x/src/xhdcp1x_g.c | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_g.c diff --git a/XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_g.c b/XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_g.c new file mode 100644 index 00000000..65a215b6 --- /dev/null +++ b/XilinxProcessorIPLib/drivers/hdcp1x/src/xhdcp1x_g.c @@ -0,0 +1,59 @@ + +/******************************************************************* +* +* CAUTION: This file is automatically generated by HSI. +* Version: +* DO NOT EDIT. +* +* Copyright (C) 2010-2015 Xilinx, Inc. All Rights Reserved.* +*Permission is hereby granted, free of charge, to any person obtaining a copy +*of this software and associated documentation files (the Software), to deal +*in the Software without restriction, including without limitation the rights +*to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +*copies of the Software, and to permit persons to whom the Software is +*furnished to do so, subject to the following conditions: +* +*The above copyright notice and this permission notice shall be included in +*all copies or substantial portions of the Software. +* +* Use of the Software is limited solely to applications: +*(a) running on a Xilinx device, or +*(b) that interact with a Xilinx device through a bus or interconnect. +* +*THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +*IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +*FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +*XILINX BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +*WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +*OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +* +*Except as contained in this notice, the name of the Xilinx shall not be used +*in advertising or otherwise to promote the sale, use or other dealings in +*this Software without prior written authorization from Xilinx. +* + +* +* Description: Driver configuration +* +*******************************************************************/ + +#include "xhdcp1x.h" +#include "xparameters.h" + +/* +* The configuration table for devices +*/ + +XHdcp1x_Config XHdcp1x_ConfigTable[] = +{ +#if defined(XPAR_XHDCP_NUM_INSTANCES) && (XPAR_XHDCP_NUM_INSTANCES > 0) + { + XPAR_HDCP_SUBSYSTEM_HDCP_0_DEVICE_ID, + XPAR_HDCP_SUBSYSTEM_HDCP_0_BASEADDR, + XPAR_HDCP_SUBSYSTEM_HDCP_0_S_AXI_FREQUENCY, + XPAR_HDCP_SUBSYSTEM_HDCP_0_IS_RX, + XPAR_HDCP_SUBSYSTEM_HDCP_0_IS_HDMI + } +#endif +}; +/** @} */