Changeset 2a0cda72 in mainline for kernel/arch/sparc64/include/cpu.h


Ignore:
Timestamp:
2006-12-14T18:14:47Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f95cc5d
Parents:
aeaebcc
Message:

On sparc64's tick interrupt, adjust the TICK_COMPARE register instead of the TICK
register. The TICK register now increments linearily and can be used by the get_cycle()
function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/cpu.h

    raeaebcc r2a0cda72  
    5656        ver_reg_t ver;
    5757        uint32_t clock_frequency;       /**< Processor frequency in MHz. */
     58        uint64_t next_tick_cmpr;        /**< Next clock interrupt should be
     59                                         *   generated in this amount of ticks.
     60                                         */
    5861};
    5962       
Note: See TracChangeset for help on using the changeset viewer.