asm-offsets.c (9cfb541a4ad45168925078f7d1fe3a7363ba27e2) asm-offsets.c (046835b4aa22b9ab6aa0bb274e3b71047c4b887d)
1/*
2 * Copyright (C) 1995-2003 Russell King
3 * 2001-2002 Keith Owens
4 *
5 * Generate definitions needed by assembly language modules.
6 * This code generates raw asm output which is post-processed to extract
7 * and format the required data.
8 *

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

192#ifdef CONFIG_ARM_MPU
193 DEFINE(MPU_RNG_INFO_RNGS, offsetof(struct mpu_rgn_info, rgns));
194 DEFINE(MPU_RNG_INFO_USED, offsetof(struct mpu_rgn_info, used));
195
196 DEFINE(MPU_RNG_SIZE, sizeof(struct mpu_rgn));
197 DEFINE(MPU_RGN_DRBAR, offsetof(struct mpu_rgn, drbar));
198 DEFINE(MPU_RGN_DRSR, offsetof(struct mpu_rgn, drsr));
199 DEFINE(MPU_RGN_DRACR, offsetof(struct mpu_rgn, dracr));
1/*
2 * Copyright (C) 1995-2003 Russell King
3 * 2001-2002 Keith Owens
4 *
5 * Generate definitions needed by assembly language modules.
6 * This code generates raw asm output which is post-processed to extract
7 * and format the required data.
8 *

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

192#ifdef CONFIG_ARM_MPU
193 DEFINE(MPU_RNG_INFO_RNGS, offsetof(struct mpu_rgn_info, rgns));
194 DEFINE(MPU_RNG_INFO_USED, offsetof(struct mpu_rgn_info, used));
195
196 DEFINE(MPU_RNG_SIZE, sizeof(struct mpu_rgn));
197 DEFINE(MPU_RGN_DRBAR, offsetof(struct mpu_rgn, drbar));
198 DEFINE(MPU_RGN_DRSR, offsetof(struct mpu_rgn, drsr));
199 DEFINE(MPU_RGN_DRACR, offsetof(struct mpu_rgn, dracr));
200 DEFINE(MPU_RGN_PRBAR, offsetof(struct mpu_rgn, prbar));
201 DEFINE(MPU_RGN_PRLAR, offsetof(struct mpu_rgn, prlar));
200#endif
201 return 0;
202}
202#endif
203 return 0;
204}