Soby Mathew | 1ae83bc | 2017-05-10 11:48:40 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /*! |
| 8 | @file |
| 9 | @brief This file contains the platform-dependent definitions that are used in the SBROM code. |
| 10 | */ |
| 11 | |
| 12 | #ifndef _CC_PAL_SB_PLAT_H |
| 13 | #define _CC_PAL_SB_PLAT_H |
| 14 | |
| 15 | #include "cc_pal_types.h" |
| 16 | |
| 17 | |
| 18 | #ifdef __cplusplus |
| 19 | extern "C" |
| 20 | { |
| 21 | #endif |
| 22 | |
| 23 | /*! Definition of DMA address type, can be 32 bits or 64 bits according to CryptoCell's HW. */ |
| 24 | typedef uint64_t CCDmaAddr_t; |
| 25 | /*! Definition of CryptoCell address type, can be 32 bits or 64 bits according to platform. */ |
| 26 | typedef uintptr_t CCAddr_t; |
| 27 | |
| 28 | |
| 29 | #ifdef __cplusplus |
| 30 | } |
| 31 | #endif |
| 32 | |
| 33 | #endif |