Rev 2326 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2326 | Rev 2341 | ||
---|---|---|---|
Line 130... | Line 130... | ||
130 | * |
130 | * |
131 | * \param instr_addr Address of instruction which tries to access memory |
131 | * \param instr_addr Address of instruction which tries to access memory |
132 | * \param badvaddr Virtual address the instruction tries to access |
132 | * \param badvaddr Virtual address the instruction tries to access |
133 | * |
133 | * |
134 | * \return Type of access into memmory |
134 | * \return Type of access into memmory |
135 | * \note Returns #PF_ACESS_EXEC if no memory access is requested |
135 | * \note Returns #PF_ACCESS_EXEC if no memory access is requested |
136 | */ |
136 | */ |
137 | static pf_access_t get_memory_access_type(uint32_t instr_addr, uintptr_t badvaddr) |
137 | static pf_access_t get_memory_access_type(uint32_t instr_addr, uintptr_t badvaddr) |
138 | { |
138 | { |
139 | instruction_union_t instr_union; |
139 | instruction_union_t instr_union; |
140 | instr_union.pc = instr_addr; |
140 | instr_union.pc = instr_addr; |