types.hh (7408:ee6949c5bb5b) types.hh (7498:fbc62b421fa0)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

236 enum OperatingMode {
237 MODE_USER = 16,
238 MODE_FIQ = 17,
239 MODE_IRQ = 18,
240 MODE_SVC = 19,
241 MODE_MON = 22,
242 MODE_ABORT = 23,
243 MODE_UNDEFINED = 27,
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

236 enum OperatingMode {
237 MODE_USER = 16,
238 MODE_FIQ = 17,
239 MODE_IRQ = 18,
240 MODE_SVC = 19,
241 MODE_MON = 22,
242 MODE_ABORT = 23,
243 MODE_UNDEFINED = 27,
244 MODE_SYSTEM = 31
244 MODE_SYSTEM = 31,
245 MODE_MAXMODE = MODE_SYSTEM
245 };
246
247 static inline bool
248 badMode(OperatingMode mode)
249 {
250 switch (mode) {
251 case MODE_USER:
252 case MODE_FIQ:

--- 19 unchanged lines hidden ---
246 };
247
248 static inline bool
249 badMode(OperatingMode mode)
250 {
251 switch (mode) {
252 case MODE_USER:
253 case MODE_FIQ:

--- 19 unchanged lines hidden ---