Commit 885df252 authored by Dorel Coman's avatar Dorel Coman Committed by Oliver Horst
Browse files

memguard: improved comments and idention, cleaned unused files

parent 511cce4f
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <freertos/core/timers.h> #include <freertos/core/timers.h>
#include "xil/drivers/xscugic.h" #include "xil/drivers/xscugic.h"
#include "xil/xil_cache.h" #include "xil/xil_cache.h"
#include "../../../../../../runtimes/memguard/platform_info.h" #include "platform_info.h"
#include "openamp/remoteproc.h" #include "openamp/remoteproc.h"
#include "metal/sys.h" #include "metal/sys.h"
#include <metal/atomic.h> #include <metal/atomic.h>
......
...@@ -177,8 +177,8 @@ void pmu_init_counters() ...@@ -177,8 +177,8 @@ void pmu_init_counters()
void pmu_enable_counter_for_event(uint32_t idx, uint32_t event_type) void pmu_enable_counter_for_event(uint32_t idx, uint32_t event_type)
{ {
pmu_disable_counter(idx); pmu_disable_counter(idx);
pmu_type_select(idx, event_type); pmu_type_select(idx, event_type);
pmu_enable_counter(idx); pmu_enable_counter(idx);
} }
uint32_t pmu_get_core_id() uint32_t pmu_get_core_id()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment