mpu.h (a2b45b0da8bbb98cb2f062cf16c6fdebab4243a1) mpu.h (67c9845beab16a0c97b9c07f72a4b36b7175bb86)
1#ifndef __ARM_MPU_H
2#define __ARM_MPU_H
3
4#ifdef CONFIG_ARM_MPU
5
6/* MPUIR layout */
7#define MPUIR_nU 1
8#define MPUIR_DREGION 8

--- 36 unchanged lines hidden (view full) ---

45/* For minimal static MPU region configurations */
46#define MPU_PROBE_REGION 0
47#define MPU_BG_REGION 1
48#define MPU_RAM_REGION 2
49
50/* Maximum number of regions Linux is interested in */
51#define MPU_MAX_REGIONS 16
52
1#ifndef __ARM_MPU_H
2#define __ARM_MPU_H
3
4#ifdef CONFIG_ARM_MPU
5
6/* MPUIR layout */
7#define MPUIR_nU 1
8#define MPUIR_DREGION 8

--- 36 unchanged lines hidden (view full) ---

45/* For minimal static MPU region configurations */
46#define MPU_PROBE_REGION 0
47#define MPU_BG_REGION 1
48#define MPU_RAM_REGION 2
49
50/* Maximum number of regions Linux is interested in */
51#define MPU_MAX_REGIONS 16
52
53#define MPU_DATA_SIDE 0
54#define MPU_INSTR_SIDE 1
55
53#ifndef __ASSEMBLY__
54
55struct mpu_rgn {
56 /* Assume same attributes for d/i-side */
57 u32 drbar;
58 u32 drsr;
59 u32 dracr;
60};

--- 12 unchanged lines hidden ---
56#ifndef __ASSEMBLY__
57
58struct mpu_rgn {
59 /* Assume same attributes for d/i-side */
60 u32 drbar;
61 u32 drsr;
62 u32 dracr;
63};

--- 12 unchanged lines hidden ---