Changeset cc250b3 in mainline for kernel


Ignore:
Timestamp:
2012-09-06T12:31:05Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
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.
Message:

Merge mainline changes

Location:
kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/exception.c

    recd1a0a rcc250b3  
    142142#elif defined(PROCESSOR_armv4) | defined(PROCESSOR_armv5)
    143143        asm volatile (
    144                 "mrc p15, 0, %[control_reg], c1, c1"
     144                "mrc p15, 0, %[control_reg], c1, c0"
    145145                : [control_reg] "=r" (control_reg)
    146146        );
     
    157157#elif defined(PROCESSOR_armv4) | defined(PROCESSOR_armv5)
    158158        asm volatile (
    159                 "mcr p15, 0, %[control_reg], c1, c1"
     159                "mcr p15, 0, %[control_reg], c1, c0"
    160160                :: [control_reg] "r" (control_reg)
    161161        );
  • kernel/genarch/src/drivers/arm926_uart/arm926_uart.c

    recd1a0a rcc250b3  
    8383        arm926_uart_t *uart = irq->instance;
    8484
    85         // TODO make pio_read accept consts pointers and remove the cast
     85        // TODO make pio_read accept const pointers and remove the cast
    8686        while ((pio_read_32((ioport32_t*)&uart->regs->flag) & ARM926_UART_FLAG_RXFE_FLAG) == 0) {
    8787                /* We ignore all error flags here */
     
    109109
    110110        /* Mask all interrupts */
    111         uart->regs->interrupt_mask = ARM926_UART_INTERRUPT_ALL;
     111        uart->regs->interrupt_mask = 0;
    112112
    113113        outdev_initialize("arm926_uart_dev", &uart->outdev, &arm926_uart_ops);
     
    133133        irq_register(&uart->irq);
    134134        /* Enable receive interrupt */
    135         uart->regs->interrupt_mask &= ~ARM926_UART_INTERRUPT_RX_FLAG;
     135        uart->regs->interrupt_mask |= ARM926_UART_INTERRUPT_RX_FLAG;
    136136}
    137137
  • kernel/generic/include/lib/elf_load.h

    recd1a0a rcc250b3  
    4242 * ELF error return codes
    4343 */
    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        6
     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  6  /* Irrecoverable error. */
    5151
    5252/**
    5353 * This flags is passed when running the loader, otherwise elf_load()
    5454 * would return with a EE_LOADER error code.
    55  *
    5655 */
    5756#define ELD_F_NONE    0
Note: See TracChangeset for help on using the changeset viewer.