power: Add support for handling the Decrementer Interrupt
authorPhanikiran Harithas <phanikiran.harithas@gmail.com>
Sun, 10 Jun 2018 09:01:05 +0000 (14:31 +0530)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 24 Jan 2021 03:52:31 +0000 (03:52 +0000)
commit1f4b0e1c2e16c46bfe7c3f35420f84d77a507bde
tree8d738ef35f9f5ebba69798596a431c10195ea77d
parentc38c963a70663720f3d6937ee47a8263100a609e
power: Add support for handling the Decrementer Interrupt

This patch allows the programming of the decrementer device, which
will count down to zero. As of now, the decrement happens after every
instruction. When the decrementer value hits 0, the CPU is delivered a
decrementer interrupt.

[ego@linux.vnet.ibm.com: Fixed Conflicts in src/arch/power/interrupts.hh]

Change-Id: I3a863a8e2bca434d5a8139df662429d3e83a8542

Signed-off-by: Phanikiran Harithas <phanikiran.harithas@gmail.com>
Signed-off-by: Venkatnarayan Kulkarni <venkatnarayankulkarni@gmail.com>
src/arch/power/faults.hh
src/arch/power/interrupts.hh
src/arch/power/system.cc