Changeset 1433ecda in mainline for kernel/arch/arm32/src/mm/page_fault.c
- Timestamp:
- 2018-04-04T15:42:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mm/page_fault.c
r47b2d7e3 r1433ecda 75 75 } dfsr_source_t; 76 76 77 static inline const char * 77 static inline const char *dfsr_source_to_str(dfsr_source_t source) 78 78 { 79 79 switch (source) { … … 149 149 panic("page_fault - instruction does not access memory " 150 150 "(instr_code: %#0" PRIx32 ", badvaddr:%p).", 151 *(uint32_t *)instr_union.instr, (void *) badvaddr);151 *(uint32_t *)instr_union.instr, (void *) badvaddr); 152 152 return PF_ACCESS_EXEC; 153 153 } … … 177 177 { 0x0fb00000, 0x01000000, PF_ACCESS_WRITE }, 178 178 }; 179 const uint32_t inst = *(uint32_t *)instr_addr;179 const uint32_t inst = *(uint32_t *)instr_addr; 180 180 for (unsigned i = 0; i < sizeof(ls_inst) / sizeof(ls_inst[0]); ++i) { 181 181 if ((inst & ls_inst[i].mask) == ls_inst[i].value) {
Note:
See TracChangeset
for help on using the changeset viewer.