Changeset 80d9d83 in mainline


Ignore:
Timestamp:
2013-10-07T19:59:50Z (11 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f12fab
Parents:
f64fe6e
Message:

Pass bootinfo_t to kernel from loader. Introduce LEON-specific
fields in bootinfo_t which allow to properly detect UART, interrupt
controller and timers in kernel.

Location:
boot/arch/sparc32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc32/include/types.h

    rf64fe6e r80d9d83  
    5858        size_t cnt;
    5959        task_t tasks[TASKMAP_MAX_RECORDS];
     60        /* Fields below are LEON-specific */
     61        uintptr_t uart_base;
     62        uintptr_t intc_base;
     63        uintptr_t timer_base;
     64        int uart_irq;
     65        int timer_irq;
     66        uint32_t memsize;
    6067} bootinfo_t;
    6168
  • boot/arch/sparc32/src/asm.S

    rf64fe6e r80d9d83  
    5353jump_to_kernel:
    5454        set 0x80a00000, %l0
    55        
     55        mov %i1, %o0
    5656        jmp %l0
    5757        nop
Note: See TracChangeset for help on using the changeset viewer.