Files
m241Neelima/vxworks-6.9/target/h/arch/mips/cavRst.h
T
2026-07-30 11:19:44 +05:30

52 lines
1.0 KiB
C

/* cavRst.h - Reset interface data types, macros and addresses */
/*
* Copyright (c) 2015 Wind River Systems, Inc.
*
* The right to copy, distribute, modify or otherwise make use
* of this software may be licensed only pursuant to the terms
* of an applicable Wind River license agreement.
*/
/*
modification history
--------------------
01a,20apr15,a_j written
*/
#ifndef __INCcavRsth
#define __INCcavRsth
#include <arch/mips/private/cavSdkDrvInclude.h>
#define CAV_INCLUDE_TYPEDEFS_ONLY
#include CAV_SDK_DRV_INCLUDE(cvmx-abi.h)
#include CAV_SDK_DRV_INCLUDE(cvmx-rst-defs.h)
#ifdef __cplusplus
extern "C" {
#endif
/* defines */
#define CAV_PCIE_MAX_PORTS 4
/*
* ADDRESS DEFINES
*/
#define CAV_RST_SOFT_RST 0x8001180006001680ull
#define CAV_RST_SOFT_PRSTX(offset) \
(0x80011800060016C0ull + ((offset) & 3) * 8)
/* typedefs */
typedef cvmx_rst_soft_rst_t CAV_RST_SOFT_RST_T;
typedef cvmx_rst_soft_prstx_t CAV_RST_SOFT_PRSTX_T;
#ifdef __cplusplus
}
#endif
#endif /* __INCcavRsth */