/* Copyright (c) 2015 Broadcom All Rights Reserved <:label-BRCM:2015:DUAL/GPL:standard Unless you and Broadcom execute a separate written software license agreement governing use of this software, this software is licensed to you under the terms of the GNU General Public License version 2 (the "GPL"), available at http://www.broadcom.com/licenses/GPLv2.php, with the following added to such license: As a special exception, the copyright holders of this software give you permission to link this software with independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from this software. The special exception does not apply to any modifications of the software. Not withstanding the above, under no circumstances may you combine this software in any way with any other Broadcom software provided under a license other than the GPL, without Broadcom's express prior written consent. :> */ #include "ru.h" #if RU_INCLUDE_FIELD_DB /****************************************************************************** * Field: RNR_MEM_HIGH_DATA_MEM ******************************************************************************/ const ru_field_rec RNR_MEM_HIGH_DATA_MEM_FIELD = { "DATA_MEM", #if RU_INCLUDE_DESC "data_memory", "data memory", #endif RNR_MEM_HIGH_DATA_MEM_FIELD_MASK, 0, RNR_MEM_HIGH_DATA_MEM_FIELD_WIDTH, RNR_MEM_HIGH_DATA_MEM_FIELD_SHIFT, #if RU_INCLUDE_ACCESS ru_access_rw #endif }; /****************************************************************************** * Field: RNR_MEM_LOW_DATA_MEM ******************************************************************************/ const ru_field_rec RNR_MEM_LOW_DATA_MEM_FIELD = { "DATA_MEM", #if RU_INCLUDE_DESC "data_memory", "data memory", #endif RNR_MEM_LOW_DATA_MEM_FIELD_MASK, 0, RNR_MEM_LOW_DATA_MEM_FIELD_WIDTH, RNR_MEM_LOW_DATA_MEM_FIELD_SHIFT, #if RU_INCLUDE_ACCESS ru_access_rw #endif }; #endif /* RU_INCLUDE_FIELD_DB */ /****************************************************************************** * Register: RNR_MEM_HIGH ******************************************************************************/ #if RU_INCLUDE_FIELD_DB static const ru_field_rec *RNR_MEM_HIGH_FIELDS[] = { &RNR_MEM_HIGH_DATA_MEM_FIELD, }; #endif /* RU_INCLUDE_FIELD_DB */ const ru_reg_rec RNR_MEM_HIGH_REG = { "HIGH", #if RU_INCLUDE_DESC "DATA_MEMORY_ENTRY Register", "Data memory entry", #endif RNR_MEM_HIGH_REG_OFFSET, RNR_MEM_HIGH_REG_RAM_CNT, 8, 254, #if RU_INCLUDE_ACCESS ru_access_rw, #endif #if RU_INCLUDE_FIELD_DB 1, RNR_MEM_HIGH_FIELDS #endif /* RU_INCLUDE_FIELD_DB */ }; /****************************************************************************** * Register: RNR_MEM_LOW ******************************************************************************/ #if RU_INCLUDE_FIELD_DB static const ru_field_rec *RNR_MEM_LOW_FIELDS[] = { &RNR_MEM_LOW_DATA_MEM_FIELD, }; #endif /* RU_INCLUDE_FIELD_DB */ const ru_reg_rec RNR_MEM_LOW_REG = { "LOW", #if RU_INCLUDE_DESC "DATA_MEMORY_ENTRY Register", "Data memory entry", #endif RNR_MEM_LOW_REG_OFFSET, RNR_MEM_LOW_REG_RAM_CNT, 8, 255, #if RU_INCLUDE_ACCESS ru_access_rw, #endif #if RU_INCLUDE_FIELD_DB 1, RNR_MEM_LOW_FIELDS #endif /* RU_INCLUDE_FIELD_DB */ }; /****************************************************************************** * Block: RNR_MEM ******************************************************************************/ static const ru_reg_rec *RNR_MEM_REGS[] = { &RNR_MEM_HIGH_REG, &RNR_MEM_LOW_REG, }; unsigned long RNR_MEM_ADDRS[] = { 0x82200000, 0x82220000, 0x82240000, 0x82260000, 0x82300000, 0x82320000, 0x82340000, 0x82360000, 0x82400000, 0x82420000, 0x82440000, 0x82460000, 0x82500000, 0x82520000, 0x82540000, 0x82560000, }; const ru_block_rec RNR_MEM_BLOCK = { "RNR_MEM", RNR_MEM_ADDRS, 16, 2, RNR_MEM_REGS }; /* End of file XRDP_RNR_MEM.c */