| 1 |
|
| 2 | |
| 3 | * Cache operations
|
| 4 | *
|
| 5 | * Copyright (C) 2007-2009 Michal Simek <[email protected]>
|
| 6 | * Copyright (C) 2007-2009 PetaLogix
|
| 7 | * Copyright (C) 2003 John Williams <[email protected]>
|
| 8 |
|
| 9 |
|
| 10 | #ifndef _ASM_MICROBLAZE_CACHE_H
|
| 11 | #define _ASM_MICROBLAZE_CACHE_H
|
| 12 |
|
| 13 | #include <asm/registers.h>
|
| 14 |
|
| 15 | #define L1_CACHE_SHIFT 5
|
| 16 |
|
| 17 | #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
|
| 18 |
|
| 19 | #define SMP_CACHE_BYTES L1_CACHE_BYTES
|
| 20 |
|
| 21 |
|
| 22 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES
|
| 23 |
|
| 24 | #define ARCH_SLAB_MINALIGN L1_CACHE_BYTES
|
| 25 |
|
| 26 | #endif
|