blob: d6d335132654aabf7c30177baeef8e7672a20d5a [file] [log] [blame]
/*
**************************************************************************
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all copies.
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
**************************************************************************
*/
/**
* @file nss_ipq40xx.h
* Architecture dependent parameters.
*/
#ifndef __NSS_IPQ40XX_H
#define __NSS_IPQ40XX_H
/**
* @addtogroup nss_arch_macros_ipq40xx
* @{
*/
#define NSS_MAX_NUM_PRI 1 /**< Maximum number of priority queues in NSS. */
#define NSS_HOST_CORES 4 /**< Number of host cores. */
#define NSS_N2H_RING_COUNT 0 /**< Number of N2H rings. */
#define NSS_H2N_RING_COUNT 0 /**< Number of H2N rings. */
#define NSS_RING_SIZE 128 /**< Ring size. */
#define NSS_IMEM_START 0x39000000 /**< NSS IMEM start address. */
#define NSS_IMEM_SIZE 0x10000 /**< NSS IMEM size per core. */
/**
* @}
*/
#endif /** __NSS_IPQ40XX_H */