Changeset 4d0f97d in mainline for kernel/arch/arm32/include
- Timestamp:
- 2010-07-16T14:23:41Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2650d3
- Parents:
- aa0d227 (diff), 24697c3 (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. - Location:
- kernel/arch/arm32/include
- Files:
-
- 1 added
- 4 edited
-
mach/gta02/gta02.h (added)
-
mach/integratorcp/integratorcp.h (modified) (1 diff)
-
mach/testarm/testarm.h (modified) (2 diffs)
-
machine_func.h (modified) (3 diffs)
-
mm/frame.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/mach/integratorcp/integratorcp.h
raa0d227 r4d0f97d 103 103 extern void icp_cpu_halt(void); 104 104 extern void icp_irq_exception(unsigned int, istate_t *); 105 extern uintptr_t icp_get_memory_size(void);105 extern void icp_get_memory_extents(uintptr_t *, uintptr_t *); 106 106 extern void icp_frame_init(void); 107 107 108 108 extern struct arm_machine_ops icp_machine_ops; 109 110 /** Size of IntegratorCP IRQ number range (starting from 0) */ 111 #define ICP_IRQ_COUNT 8 109 112 110 113 #endif -
kernel/arch/arm32/include/mach/testarm/testarm.h
raa0d227 r4d0f97d 42 42 #include <arch/machine_func.h> 43 43 44 /** Last interrupt number (beginning from 0) whose status is probed 45 * from interrupt controller 46 */ 47 #define GXEMUL_IRQC_MAX_IRQ 8 48 #define GXEMUL_KBD_IRQ 2 49 #define GXEMUL_TIMER_IRQ 4 44 /** Size of GXemul IRQ number range (starting from 0) */ 45 #define GXEMUL_IRQ_COUNT 32 46 #define GXEMUL_KBD_IRQ 2 47 #define GXEMUL_TIMER_IRQ 4 50 48 51 49 /** Timer frequency */ … … 73 71 extern void gxemul_cpu_halt(void); 74 72 extern void gxemul_irq_exception(unsigned int, istate_t *); 75 extern uintptr_t gxemul_get_memory_size(void);73 extern void gxemul_get_memory_extents(uintptr_t *, uintptr_t *); 76 74 extern void gxemul_frame_init(void); 77 75 -
kernel/arch/arm32/include/machine_func.h
raa0d227 r4d0f97d 47 47 48 48 struct arm_machine_ops { 49 void (*machine_init)(void);50 void (*machine_timer_irq_start)(void);51 void (*machine_cpu_halt)(void);52 uintptr_t (*machine_get_memory_size)(void);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);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); 57 57 }; 58 58 … … 74 74 extern void machine_cpu_halt(void); 75 75 76 77 /** Returns size of available memory. 76 /** Get extents of available memory. 78 77 * 79 * @return Size of available memory. 78 * @param start Place to store memory start address. 79 * @param size Place to store memory size. 80 80 */ 81 extern uintptr_t machine_get_memory_size(void); 82 81 extern void machine_get_memory_extents(uintptr_t *start, uintptr_t *size); 83 82 84 83 /** Interrupt exception handler. … … 105 104 extern void machine_input_init(void); 106 105 106 extern size_t machine_get_irq_count(void); 107 107 108 #endif 108 109 -
kernel/arch/arm32/include/mm/frame.h
raa0d227 r4d0f97d 46 46 47 47 #define BOOT_PAGE_TABLE_SIZE 0x4000 48 #define BOOT_PAGE_TABLE_ADDRESS 0x8000 48 49 #ifdef MACHINE_gta02 50 #define BOOT_PAGE_TABLE_ADDRESS 0x30010000 51 #else 52 #define BOOT_PAGE_TABLE_ADDRESS 0x00008000 53 #endif 49 54 50 55 #define BOOT_PAGE_TABLE_START_FRAME (BOOT_PAGE_TABLE_ADDRESS >> FRAME_WIDTH) 51 56 #define BOOT_PAGE_TABLE_SIZE_IN_FRAMES (BOOT_PAGE_TABLE_SIZE >> FRAME_WIDTH) 57 58 #ifdef MACHINE_gta02 59 #define PHYSMEM_START_ADDR 0x30008000 60 #else 61 #define PHYSMEM_START_ADDR 0x00000000 62 #endif 52 63 53 64 extern uintptr_t last_frame;
Note:
See TracChangeset
for help on using the changeset viewer.
