From 62e614cf5ed84e8922d68aab598783b0a2f1f627 Mon Sep 17 00:00:00 2001 From: mp-17 Date: Tue, 7 Jul 2020 14:59:07 +0200 Subject: [PATCH] :bug: make startup code compliant to cv32e40p --- kernel/crt0.S | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/kernel/crt0.S b/kernel/crt0.S index f377889..ef8bce5 100644 --- a/kernel/crt0.S +++ b/kernel/crt0.S @@ -21,12 +21,6 @@ .global pos_init_entry pos_init_entry: - # Performance counters are active after reset, deactivate them to let the - # user control when they should start counting - csrw 0x7A1, x0 - - - # Cluster PEs will also starts here to avoid aligning another entry point # Just re-route them to the right entry #if defined(ARCHI_HAS_CLUSTER) @@ -179,4 +173,4 @@ loop: li x2, 0x1a109800 sw x0, 0(x2) wfi - j loop \ No newline at end of file + j loop