Merge pull request #8 from mp-17/matteo

🐛 make startup code compliant to cv32e40p
This commit is contained in:
bluew 2020-07-08 16:09:22 +02:00 committed by GitHub
commit 75b83a7c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
j loop