- Timestamp:
- 2012-09-06T12:31:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 504f1756
- Parents:
- ecd1a0a (diff), 8cf4823 (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
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/exception.c
recd1a0a rcc250b3 142 142 #elif defined(PROCESSOR_armv4) | defined(PROCESSOR_armv5) 143 143 asm volatile ( 144 "mrc p15, 0, %[control_reg], c1, c 1"144 "mrc p15, 0, %[control_reg], c1, c0" 145 145 : [control_reg] "=r" (control_reg) 146 146 ); … … 157 157 #elif defined(PROCESSOR_armv4) | defined(PROCESSOR_armv5) 158 158 asm volatile ( 159 "mcr p15, 0, %[control_reg], c1, c 1"159 "mcr p15, 0, %[control_reg], c1, c0" 160 160 :: [control_reg] "r" (control_reg) 161 161 ); -
kernel/genarch/src/drivers/arm926_uart/arm926_uart.c
recd1a0a rcc250b3 83 83 arm926_uart_t *uart = irq->instance; 84 84 85 // TODO make pio_read accept const spointers and remove the cast85 // TODO make pio_read accept const pointers and remove the cast 86 86 while ((pio_read_32((ioport32_t*)&uart->regs->flag) & ARM926_UART_FLAG_RXFE_FLAG) == 0) { 87 87 /* We ignore all error flags here */ … … 109 109 110 110 /* Mask all interrupts */ 111 uart->regs->interrupt_mask = ARM926_UART_INTERRUPT_ALL;111 uart->regs->interrupt_mask = 0; 112 112 113 113 outdev_initialize("arm926_uart_dev", &uart->outdev, &arm926_uart_ops); … … 133 133 irq_register(&uart->irq); 134 134 /* Enable receive interrupt */ 135 uart->regs->interrupt_mask &= ~ARM926_UART_INTERRUPT_RX_FLAG;135 uart->regs->interrupt_mask |= ARM926_UART_INTERRUPT_RX_FLAG; 136 136 } 137 137 -
kernel/generic/include/lib/elf_load.h
recd1a0a rcc250b3 42 42 * ELF error return codes 43 43 */ 44 #define EE_OK 0/* No error */45 #define EE_INVALID 1/* Invalid ELF image */46 #define EE_MEMORY 2/* Cannot allocate address space */47 #define EE_INCOMPATIBLE 3/* ELF image is not compatible with current architecture */48 #define EE_UNSUPPORTED 4/* Non-supported ELF (e.g. dynamic ELFs) */49 #define EE_LOADER 5/* The image is actually a program loader. */50 #define EE_IRRECOVERABLE 644 #define EE_OK 0 /* No error */ 45 #define EE_INVALID 1 /* Invalid ELF image */ 46 #define EE_MEMORY 2 /* Cannot allocate address space */ 47 #define EE_INCOMPATIBLE 3 /* ELF image is not compatible with current architecture */ 48 #define EE_UNSUPPORTED 4 /* Non-supported ELF (e.g. dynamic ELFs) */ 49 #define EE_LOADER 5 /* The image is actually a program loader. */ 50 #define EE_IRRECOVERABLE 6 /* Irrecoverable error. */ 51 51 52 52 /** 53 53 * This flags is passed when running the loader, otherwise elf_load() 54 54 * would return with a EE_LOADER error code. 55 *56 55 */ 57 56 #define ELD_F_NONE 0
Note:
See TracChangeset
for help on using the changeset viewer.