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)
committerKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 06:30:49 +0000 (12:00 +0530)
commit6e8a1f853dc5ae6f5389efaa583a8a37a3bcb99e
tree9fd676cec0129ff13c1c111797591d24f604ab3f
parentf21b697c6a4841229cccd142916c159fb1852f3b
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