diff options
Diffstat (limited to 'src/sscofpmf.adoc')
-rw-r--r-- | src/sscofpmf.adoc | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/src/sscofpmf.adoc b/src/sscofpmf.adoc index 7e67a25..84f1a09 100644 --- a/src/sscofpmf.adoc +++ b/src/sscofpmf.adoc @@ -71,17 +71,20 @@ count overflow interrupt disable for the associated hpmcounter. Count overflow never results from writes to the mhpmcounter__n__ or mhpmevent__n__ registers, only from hardware increments of counter registers. -This "count overflow interrupt request" signal is treated as a standard local -interrupt that corresponds to bit 13 in the mip/mie/sip/sie registers. The -mip/sip LCOFIP and mie/sie LCOFIE bits are respectively the interrupt-pending -and interrupt-enable bits for this interrupt. ('LCOFI' represents 'Local Count -Overflow Interrupt'.) - -Generation of a "count overflow interrupt request" by an hpmcounter sets the -LCOFIP bit in the mip/sip registers and sets the associated OF bit. The mideleg -register controls the delegation of this interrupt to S-mode versus M-mode. The -LCOFIP bit is cleared by software before servicing the count overflow interrupt -resulting from one or more count overflows. +This count-overflow-interrupt-request signal is treated as a standard local +interrupt that corresponds to bit 13 in the `mip`/`mie`/`sip`/`sie` registers. +The `mip`/`sip` LCOFIP and `mie`/`sie` LCOFIE bits are, respectively, the +interrupt-pending and interrupt-enable bits for this interrupt. +('LCOFI' represents 'Local Count Overflow Interrupt'.) + +Generation of a count-overflow-interrupt request by an `hpmcounter` sets the +associated OF bit. +When an OF bit is set, it eventually, but not necessarily immediately, sets +the LCOFIP bit in the `mip`/`sip` registers. +The LCOFIP bit is cleared by software before servicing the count overflow +interrupt resulting from one or more count overflows. +The `mideleg` register controls the delegation of this interrupt to S-mode +versus M-mode. [NOTE] ==== |