Changeset 214ec25c in mainline for kernel/arch/arm32
- Timestamp:
- 2010-06-11T16:07:21Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b584cd4
- Parents:
- b3b7e14a
- Location:
- kernel/arch/arm32
- Files:
-
- 9 edited
-
include/mach/integratorcp/integratorcp.h (modified) (1 diff)
-
include/mach/testarm/testarm.h (modified) (1 diff)
-
include/machine_func.h (modified) (2 diffs)
-
include/mm/page_fault.h (modified) (1 diff)
-
src/exception.c (modified) (2 diffs)
-
src/mach/integratorcp/integratorcp.c (modified) (1 diff)
-
src/mach/testarm/testarm.c (modified) (1 diff)
-
src/machine_func.c (modified) (1 diff)
-
src/mm/page_fault.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/mach/integratorcp/integratorcp.h
rb3b7e14a r214ec25c 102 102 extern void icp_timer_irq_start(void); 103 103 extern void icp_cpu_halt(void); 104 extern void icp_irq_exception( int exc_no, istate_t *istate);104 extern void icp_irq_exception(unsigned int, istate_t *); 105 105 extern uintptr_t icp_get_memory_size(void); 106 106 extern void icp_frame_init(void); -
kernel/arch/arm32/include/mach/testarm/testarm.h
rb3b7e14a r214ec25c 72 72 extern void gxemul_timer_irq_start(void); 73 73 extern void gxemul_cpu_halt(void); 74 extern void gxemul_irq_exception( int exc_no, istate_t *istate);74 extern void gxemul_irq_exception(unsigned int, istate_t *); 75 75 extern uintptr_t gxemul_get_memory_size(void); 76 76 extern void gxemul_frame_init(void); -
kernel/arch/arm32/include/machine_func.h
rb3b7e14a r214ec25c 53 53 void (*machine_cpu_halt)(void); 54 54 uintptr_t (*machine_get_memory_size)(void); 55 void (*machine_irq_exception)( int, istate_t*);55 void (*machine_irq_exception)(unsigned int, istate_t*); 56 56 void (*machine_frame_init)(void); 57 57 void (*machine_output_init)(void); … … 86 86 * @param istate Saved processor state. 87 87 */ 88 extern void machine_irq_exception( int exc_no, istate_t *istate);88 extern void machine_irq_exception(unsigned int exc_no, istate_t *istate); 89 89 90 90 -
kernel/arch/arm32/include/mm/page_fault.h
rb3b7e14a r214ec25c 81 81 } instruction_union_t; 82 82 83 extern void prefetch_abort( int n, istate_t *istate);84 extern void data_abort( int n, istate_t *istate);83 extern void prefetch_abort(unsigned int, istate_t *); 84 extern void data_abort(unsigned int, istate_t *); 85 85 86 86 #endif -
kernel/arch/arm32/src/exception.c
rb3b7e14a r214ec25c 91 91 * 92 92 * Dispatches the syscall. 93 */ 94 static void swi_exception(int exc_no, istate_t *istate) 93 * 94 */ 95 static void swi_exception(unsigned int exc_no, istate_t *istate) 95 96 { 96 97 istate->r0 = syscall_handler(istate->r0, istate->r1, istate->r2, … … 148 149 * Determines the sources of interrupt and calls their handlers. 149 150 */ 150 static void irq_exception( int exc_no, istate_t *istate)151 static void irq_exception(unsigned int exc_no, istate_t *istate) 151 152 { 152 153 machine_irq_exception(exc_no, istate); -
kernel/arch/arm32/src/mach/integratorcp/integratorcp.c
rb3b7e14a r214ec25c 242 242 * @param istate Saved processor state. 243 243 */ 244 void icp_irq_exception( int exc_no, istate_t *istate)244 void icp_irq_exception(unsigned int exc_no, istate_t *istate) 245 245 { 246 246 uint32_t sources = icp_irqc_get_sources(); 247 int i;247 unsigned int i; 248 248 249 249 for (i = 0; i < ICP_IRQC_MAX_IRQ; i++) { -
kernel/arch/arm32/src/mach/testarm/testarm.c
rb3b7e14a r214ec25c 205 205 * Determines the sources of interrupt and calls their handlers. 206 206 */ 207 void gxemul_irq_exception( int exc_no, istate_t *istate)207 void gxemul_irq_exception(unsigned int exc_no, istate_t *istate) 208 208 { 209 209 uint32_t sources = gxemul_irqc_get_sources(); -
kernel/arch/arm32/src/machine_func.c
rb3b7e14a r214ec25c 76 76 * @param istate Saved processor state. 77 77 */ 78 void machine_irq_exception( int exc_no, istate_t *istate)78 void machine_irq_exception(unsigned int exc_no, istate_t *istate) 79 79 { 80 80 (machine_ops.machine_irq_exception)(exc_no, istate); -
kernel/arch/arm32/src/mm/page_fault.c
rb3b7e14a r214ec25c 167 167 /** Handles "data abort" exception (load or store at invalid address). 168 168 * 169 * @param exc_no Exception number. 170 * @param istate CPU state when exception occured. 171 */ 172 void data_abort(int exc_no, istate_t *istate) 169 * @param exc_no Exception number. 170 * @param istate CPU state when exception occured. 171 * 172 */ 173 void data_abort(unsigned int exc_no, istate_t *istate) 173 174 { 174 175 fault_status_t fsr __attribute__ ((unused)) = … … 193 194 /** Handles "prefetch abort" exception (instruction couldn't be executed). 194 195 * 195 * @param exc_no Exception number. 196 * @param istate CPU state when exception occured. 197 */ 198 void prefetch_abort(int exc_no, istate_t *istate) 196 * @param exc_no Exception number. 197 * @param istate CPU state when exception occured. 198 * 199 */ 200 void prefetch_abort(unsigned int exc_no, istate_t *istate) 199 201 { 200 202 int ret = as_page_fault(istate->pc, PF_ACCESS_EXEC, istate);
Note:
See TracChangeset
for help on using the changeset viewer.
