Changeset 4b1c7c6f in mainline for kernel/arch/arm32/src/mach/integratorcp/integratorcp.c
- Timestamp:
- 2018-03-16T20:57:16Z (6 years ago)
- Children:
- 6be2c13
- Parents:
- 973be387
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:51:59)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:57:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/integratorcp/integratorcp.c
r973be387 r4b1c7c6f 135 135 { 136 136 icp.hw_map.uart = km_map(ICP_UART, PAGE_SIZE, 137 PAGE_WRITE | PAGE_NOT_CACHEABLE);138 icp.hw_map.kbd_ctrl = km_map(ICP_KBD, PAGE_SIZE, PAGE_NOT_CACHEABLE);137 PAGE_WRITE); 138 icp.hw_map.kbd_ctrl = km_map(ICP_KBD, PAGE_SIZE, 0); 139 139 icp.hw_map.kbd_stat = icp.hw_map.kbd_ctrl + ICP_KBD_STAT; 140 140 icp.hw_map.kbd_data = icp.hw_map.kbd_ctrl + ICP_KBD_DATA; 141 141 icp.hw_map.kbd_intstat = icp.hw_map.kbd_ctrl + ICP_KBD_INTR_STAT; 142 142 icp.hw_map.rtc = km_map(ICP_RTC, PAGE_SIZE, 143 PAGE_WRITE | PAGE_NOT_CACHEABLE);143 PAGE_WRITE); 144 144 icp.hw_map.rtc1_load = icp.hw_map.rtc + ICP_RTC1_LOAD_OFFSET; 145 145 icp.hw_map.rtc1_read = icp.hw_map.rtc + ICP_RTC1_READ_OFFSET; … … 150 150 151 151 icp.hw_map.irqc = km_map(ICP_IRQC, PAGE_SIZE, 152 PAGE_WRITE | PAGE_NOT_CACHEABLE);152 PAGE_WRITE); 153 153 icp.hw_map.irqc_mask = icp.hw_map.irqc + ICP_IRQC_MASK_OFFSET; 154 154 icp.hw_map.irqc_unmask = icp.hw_map.irqc + ICP_IRQC_UNMASK_OFFSET; 155 155 icp.hw_map.cmcr = km_map(ICP_CMCR, PAGE_SIZE, 156 PAGE_WRITE | PAGE_NOT_CACHEABLE);156 PAGE_WRITE); 157 157 icp.hw_map.sdramcr = icp.hw_map.cmcr + ICP_SDRAMCR_OFFSET; 158 158 icp.hw_map.vga = km_map(ICP_VGA, PAGE_SIZE, 159 PAGE_WRITE | PAGE_NOT_CACHEABLE);159 PAGE_WRITE); 160 160 161 161 hw_map_init_called = true;
Note:
See TracChangeset
for help on using the changeset viewer.