Changeset c621f4aa in mainline for kernel/arch/arm32/include/machine_func.h
- Timestamp:
- 2010-07-25T10:11:13Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 377cce8
- Parents:
- 24a2517 (diff), a2da43c (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
-
kernel/arch/arm32/include/machine_func.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/machine_func.h
r24a2517 rc621f4aa 43 43 44 44 #include <console/console.h> 45 #include < arch/types.h>45 #include <typedefs.h> 46 46 #include <arch/exception.h> 47 47 48 #define MACHINE_GENFUNC machine_genfunc49 50 48 struct arm_machine_ops { 51 void (*machine_init)(void);52 void (*machine_timer_irq_start)(void);53 void (*machine_cpu_halt)(void);54 uintptr_t (*machine_get_memory_size)(void);55 void (*machine_irq_exception)(int, istate_t*);56 void (*machine_frame_init)(void);57 void (*machine_output_init)(void);58 void (*machine_input_init)(void);49 void (*machine_init)(void); 50 void (*machine_timer_irq_start)(void); 51 void (*machine_cpu_halt)(void); 52 void (*machine_get_memory_extents)(uintptr_t *, uintptr_t *); 53 void (*machine_irq_exception)(unsigned int, istate_t *); 54 void (*machine_frame_init)(void); 55 void (*machine_output_init)(void); 56 void (*machine_input_init)(void); 59 57 }; 60 58 61 extern struct arm_machine_ops machine_ops; 59 /** Pointer to arm_machine_ops structure being used. */ 60 extern struct arm_machine_ops *machine_ops; 62 61 62 /** Initialize machine_ops pointer. */ 63 extern void machine_ops_init(void); 63 64 64 65 /** Maps HW devices to the kernel address space using #hw_map. */ … … 73 74 extern void machine_cpu_halt(void); 74 75 75 76 /** Returns size of available memory. 76 /** Get extents of available memory. 77 77 * 78 * @return Size of available memory. 78 * @param start Place to store memory start address. 79 * @param size Place to store memory size. 79 80 */ 80 extern uintptr_t machine_get_memory_size(void); 81 81 extern void machine_get_memory_extents(uintptr_t *start, uintptr_t *size); 82 82 83 83 /** Interrupt exception handler. … … 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 … … 104 104 extern void machine_input_init(void); 105 105 106 extern void machine_genfunc(void); 106 extern size_t machine_get_irq_count(void); 107 107 108 #endif 108 109
Note:
See TracChangeset
for help on using the changeset viewer.
