Changeset 60d931d in mainline
- Timestamp:
- 2012-09-07T15:00:02Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1dbd189, 3451129
- Parents:
- 23c1fae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mm/page_fault.c
r23c1fae r60d931d 83 83 * 84 84 * @return Type of access into memory, PF_ACCESS_EXEC if no memory access is 85 * 85 * requested. 86 86 */ 87 87 static pf_access_t get_memory_access_type(uint32_t instr_addr, … … 125 125 { 0x0fb00000, 0x01000000, PF_ACCESS_WRITE }, 126 126 }; 127 uint32_t inst = *(uint32_t*)instr_addr;127 const uint32_t inst = *(uint32_t*)instr_addr; 128 128 for (unsigned i = 0; i < sizeof(ls_inst) / sizeof(ls_inst[0]); ++i) { 129 129 if ((inst & ls_inst[i].mask) == ls_inst[i].value) { … … 134 134 panic("page_fault - instruction doesn't access memory " 135 135 "(instr_code: %#0" PRIx32 ", badvaddr:%p).", 136 inst r_union.pc, (void *) badvaddr);136 inst, (void *) badvaddr); 137 137 } 138 138
Note:
See TracChangeset
for help on using the changeset viewer.