Changeset 00aece0 in mainline for kernel/arch/arm32/src/mach/gta02/gta02.c
- Timestamp:
- 2012-02-18T16:47:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4449c6c
- Parents:
- bd5f3b7 (diff), f943dd3 (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
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/gta02/gta02.c
rbd5f3b7 r00aece0 38 38 #include <arch/mm/page.h> 39 39 #include <mm/page.h> 40 #include <mm/km.h> 40 41 #include <genarch/fb/fb.h> 41 42 #include <abi/fb/visuals.h> … … 65 66 static void gta02_timer_irq_start(void); 66 67 static void gta02_cpu_halt(void); 67 static void gta02_get_memory_extents(uintptr_t *start, uintptr_t *size);68 static void gta02_get_memory_extents(uintptr_t *start, size_t *size); 68 69 static void gta02_irq_exception(unsigned int exc_no, istate_t *istate); 69 70 static void gta02_frame_init(void); … … 101 102 s3c24xx_irqc_regs_t *irqc_regs; 102 103 103 gta02_timer = (void *) hw_map(S3C24XX_TIMER_ADDRESS, PAGE_SIZE); 104 irqc_regs = (void *) hw_map(S3C24XX_IRQC_ADDRESS, PAGE_SIZE); 104 gta02_timer = (void *) km_map(S3C24XX_TIMER_ADDRESS, PAGE_SIZE, 105 PAGE_NOT_CACHEABLE); 106 irqc_regs = (void *) km_map(S3C24XX_IRQC_ADDRESS, PAGE_SIZE, 107 PAGE_NOT_CACHEABLE); 105 108 106 109 /* Initialize interrupt controller. */ … … 123 126 * @param size Place to store memory size. 124 127 */ 125 static void gta02_get_memory_extents(uintptr_t *start, uintptr_t *size)128 static void gta02_get_memory_extents(uintptr_t *start, size_t *size) 126 129 { 127 130 *start = GTA02_MEMORY_START + GTA02_MEMORY_SKIP;
Note:
See TracChangeset
for help on using the changeset viewer.