Changeset 18b6a88 in mainline for kernel/arch
- Timestamp:
- 2018-04-15T09:35:04Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1f44ca
- Parents:
- 8ebe212
- Location:
- kernel/arch
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/abs32le/include/arch/mm/page.h
r8ebe212 r18b6a88 152 152 pte_t *p = &pt[i]; 153 153 154 return ( 155 ((unsigned int) (!p->page_cache_disable) << PAGE_CACHEABLE_SHIFT) | 154 return (((unsigned int) (!p->page_cache_disable) << PAGE_CACHEABLE_SHIFT) | 156 155 ((unsigned int) (!p->present) << PAGE_PRESENT_SHIFT) | 157 156 ((unsigned int) p->uaccessible << PAGE_USER_SHIFT) | … … 159 158 ((unsigned int) p->writeable << PAGE_WRITE_SHIFT) | 160 159 (1 << PAGE_EXEC_SHIFT) | 161 ((unsigned int) p->global << PAGE_GLOBAL_SHIFT) 162 ); 160 ((unsigned int) p->global << PAGE_GLOBAL_SHIFT)); 163 161 } 164 162 -
kernel/arch/arm32/include/arch/cycle.h
r8ebe212 r18b6a88 52 52 if ((ID_PFR1_read() & ID_PFR1_GEN_TIMER_EXT_MASK) == 53 53 ID_PFR1_GEN_TIMER_EXT) { 54 uint32_t low = 0, high = 0; 55 asm volatile( "MRRC p15, 0, %[low], %[high], c14": [low]"=r"(low), [high]"=r"(high)); 56 return ((uint64_t)high << 32) | low; 54 uint32_t low = 0, high = 0; 55 asm volatile ( 56 "MRRC p15, 0, %[low], %[high], c14" 57 : [low] "=r" (low), [high] "=r" (high) 58 ); 59 return ((uint64_t)high << 32) | low; 57 60 } else { 58 61 return (uint64_t)PMCCNTR_read() * 64; -
kernel/arch/arm32/src/mach/integratorcp/integratorcp.c
r8ebe212 r18b6a88 245 245 void icp_cpu_halt(void) 246 246 { 247 while (true); 247 while (true) 248 ; 248 249 } 249 250 … … 345 346 346 347 #ifdef CONFIG_PL011_UART 347 348 349 350 351 352 353 348 srln_instance_t *srln_instance = srln_init(); 349 if (srln_instance) { 350 indev_t *sink = stdin_wire(); 351 indev_t *srln = srln_wire(srln_instance, sink); 352 pl011_uart_input_wire(&icp.uart, srln); 353 icp_irqc_unmask(ICP_UART0_IRQ); 354 } 354 355 #endif 355 356 } -
kernel/arch/ia64/src/mm/page.c
r8ebe212 r18b6a88 75 75 * For paranoia reasons, we set it again. 76 76 */ 77 for (i = 0; i < REGION_REGISTERS; i++) {77 for (i = 0; i < REGION_REGISTERS; i++) { 78 78 rr.word = rr_read(i); 79 79 rr.map.ve = 0; /* disable VHPT walker */ -
kernel/arch/sparc64/include/arch/sun4v/hypercall.h
r8ebe212 r18b6a88 152 152 */ 153 153 static inline uint64_t 154 154 __hypercall_fast(const uint64_t p1, const uint64_t p2, const uint64_t p3, 155 155 const uint64_t p4, const uint64_t p5, const uint64_t function_number) 156 156 { … … 187 187 */ 188 188 static inline uint64_t 189 189 __hypercall_fast_ret1(const uint64_t p1, const uint64_t p2, const uint64_t p3, 190 190 const uint64_t p4, const uint64_t p5, const uint64_t function_number, 191 191 uint64_t *ret1) … … 223 223 */ 224 224 static inline uint64_t 225 225 __hypercall_hyperfast(const uint64_t p1, const uint64_t p2, const uint64_t p3, 226 226 const uint64_t p4, const uint64_t p5, const uint64_t sw_trap_number) 227 227 {
Note:
See TracChangeset
for help on using the changeset viewer.