Changeset d6e5cbc in mainline for arch/mips32/src/mips32.c


Ignore:
Timestamp:
2006-05-28T18:17:36Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5552d60
Parents:
3bf5976
Message:

Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/mips32.c

    r3bf5976 rd6e5cbc  
    8181        /* Initialize dispatch table */
    8282        exception_init();
    83         interrupt_init();
    84 
    8583        arc_init();
    8684
     
    9088        memcpy(CACHE_EXC, (char *)cache_error_entry, EXCEPTION_JUMP_SIZE);
    9189
     90        interrupt_init();
    9291        /*
    9392         * Switch to BEV normal level so that exception vectors point to the kernel.
     
    10099         */
    101100        cp0_mask_all_int();
     101
    102102        /*
    103103         * Unmask hardware clock interrupt.
    104104         */
    105105        cp0_unmask_int(TIMER_IRQ);
    106 
    107         /*
    108          * Start hardware clock.
    109          */
    110         cp0_compare_write(cp0_compare_value + cp0_count_read());
    111106
    112107        console_init();
Note: See TracChangeset for help on using the changeset viewer.