Greentime Hu | 2e1aecb | 2017-10-24 14:53:31 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | // Copyright (C) 2005-2017 Andes Technology Corporation |
| 3 | |
| 4 | #ifndef _ASMNDS32_SHMPARAM_H |
| 5 | #define _ASMNDS32_SHMPARAM_H |
| 6 | |
| 7 | /* |
| 8 | * This should be the size of the virtually indexed cache/ways, |
| 9 | * whichever is greater since the cache aliases every size/ways |
| 10 | * bytes. |
| 11 | */ |
| 12 | #define SHMLBA (4 * SZ_8K) /* attach addr a multiple of this */ |
| 13 | |
| 14 | /* |
| 15 | * Enforce SHMLBA in shmat |
| 16 | */ |
| 17 | #define __ARCH_FORCE_SHMLBA |
| 18 | |
| 19 | #endif /* _ASMNDS32_SHMPARAM_H */ |