Changeset 0ab362c in mainline for kernel/arch/arm32/include/mm/page_fault.h
- Timestamp:
- 2012-11-22T14:36:04Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e32720ff
- Parents:
- 1f7753a (diff), 0f2c80a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/mm/page_fault.h
r1f7753a r0ab362c 40 40 41 41 42 /** Decribes CP15 "fault status register" (FSR). */ 43 typedef struct { 44 unsigned status : 3; 45 unsigned domain : 4; 46 unsigned zero : 1; 47 unsigned should_be_zero : 24; 48 } ATTRIBUTE_PACKED fault_status_t; 49 50 51 /** Help union used for casting integer value into #fault_status_t. */ 42 /** Decribes CP15 "fault status register" (FSR). 43 * 44 * See ARM Architecture Reference Manual ch. B4.9.6 (pdf p.743). 45 */ 52 46 typedef union { 53 fault_status_t fs; 54 uint32_t dummy; 55 } fault_status_union_t; 47 struct { 48 unsigned status : 4; 49 unsigned domain : 4; 50 unsigned zero : 1; 51 unsigned lpae : 1; /**< Needs LPAE support implemented */ 52 unsigned fs : 1; /**< armv6+ mandated, earlier IPLM. DEFINED */ 53 unsigned wr : 1; /**< armv6+ only */ 54 unsigned ext : 1 ; /**< external abort */ 55 unsigned cm : 1; /**< Cache maintenance, needs LPAE support */ 56 unsigned should_be_zero : 18; 57 } data; 58 struct { 59 unsigned status : 4; 60 unsigned sbz0 : 6; 61 unsigned fs : 1; 62 unsigned should_be_zero : 21; 63 } inst; 64 uint32_t raw; 65 } fault_status_t; 56 66 57 67
Note:
See TracChangeset
for help on using the changeset viewer.