File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 27
27
#include <helper/nvp.h>
28
28
#include <helper/time_support.h>
29
29
#include "aarch64_system_registers.h"
30
+ #include "helper/binarybuffer.h"
30
31
31
32
enum restart_mode {
32
33
RESTART_LAZY ,
@@ -207,7 +208,8 @@ static int aarch64_read_prsr(struct target *target, uint32_t *prsr)
207
208
if (retval != ERROR_OK )
208
209
return retval ;
209
210
210
- armv8 -> sticky_reset |= * prsr & PRSR_SR ;
211
+ /* FIXME: this seems to happen spuriously at least on SDM845/OnePlus 6 and causes havoc! */
212
+ // armv8->sticky_reset |= *prsr & PRSR_SR;
211
213
return ERROR_OK ;
212
214
}
213
215
@@ -386,7 +388,7 @@ static int aarch64_halt_one(struct target *target, enum halt_mode mode)
386
388
int retval = ERROR_OK ;
387
389
struct armv8_common * armv8 = target_to_armv8 (target );
388
390
389
- LOG_DEBUG ("%s" , target_name (target ));
391
+ // LOG_DEBUG("%s", target_name(target));
390
392
391
393
/* allow Halting Debug Mode */
392
394
retval = aarch64_set_dscr_bits (target , DSCR_HDE , DSCR_HDE );
You can’t perform that action at this time.
0 commit comments