On sparc64's tick interrupt, adjust the TICK_COMPARE register instead of the TICK
commit2a0cda72348efa169106b8782a346c170a98dd49
authorJakub Jermar <jakub@jermar.eu>
Thu, 14 Dec 2006 18:14:47 +0000 (14 18:14 +0000)
committerJakub Jermar <jakub@jermar.eu>
Thu, 14 Dec 2006 18:14:47 +0000 (14 18:14 +0000)
tree835f24b469141827fd1065626178983a98046a7c
parentaeaebcc155defcfcb8ff9cf60ddacb07fd8e84a7
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.
kernel/arch/sparc64/include/cpu.h
kernel/arch/sparc64/include/cycle.h
kernel/arch/sparc64/src/drivers/tick.c