Skip to content

Commit

Permalink
Clarify the PMU snapshot set memory funciton
Browse files Browse the repository at this point in the history
The *_set_shmem calls set up the shared memory on the calling hart
only. Every active hart intend to use the shared memory must invoke
this once to set it up. Clarify it in the PMU snapshot function.

Signed-off-by: Atish Patra <[email protected]>
  • Loading branch information
atishp04 committed Jan 13, 2024
1 parent 76d3b91 commit de0277b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ext-pmu.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ struct sbiret sbi_pmu_snapshot_set_shmem(unsigned long shmem_phys_lo,
unsigned long flags)
----
Set and enable the PMU snapshot shared memory.
Set and enable the PMU snapshot shared memory on the calling hart.
If both `shmem_phys_lo` and `shmem_phys_hi` parameters are not all-ones
bitwise then `shmem_phys_lo` specifies the lower XLEN bits and `shmem_phys_hi`
Expand Down

0 comments on commit de0277b

Please sign in to comment.