1 #ifndef _PA_LOC_H
2 #define _PA_LOC_H
3 /******************************************************************************************
4 * FILE PURPOSE: Provide local Packet Accelerator definitions
5 ******************************************************************************************
6 * FILE NAME: pa_loc.h
7 *
8 * DESCRIPTION: Defines the packet accelerator sub-system and hardware interface
9 *
10 ******************************************************************************************/
13 #define PA_REG_MAILBOX_SLOT(pdsp, slot) (0x00 + ((pdsp)*0x10) + ((slot)*0x04))
14 #define PA_REG_PDSP_CTL(pdsp) (0x1000 + ((pdsp)*0x100))
15 #define PA_MEM_PDSP_IRAM(pdsp) (0x10000 + ((pdsp)*0x8000))
18 /* The pdsp control register */
19 #define PA_REG_VAL_PDSP_CTL_ENABLE_PDSP(pcVal) (((pcVal) << 16) | 0x3)
20 #define PA_REG_VAL_PDSP_CTL_DISABLE_PDSP 0
22 /* Number of mailbox slots for each PDPS */
23 #define PA_NUM_MAILBOX_SLOTS 4
28 #endif /* _PA_LOC_H */