aboutsummaryrefslogtreecommitdiff
path: root/devkit/masochist.c
blob: aac2fc80e2465da73c17c04af4d60223ff67e9c0 (plain)
1
2
3
4
5
6
7
8
#include "cacheracer.h"

void __start(int core_id, unsigned char payload) {
  volatile char *ptr = (volatile char*) HOME_DATA;
  volatile int *ptr2 = (volatile int*) HOME_DATA;
  ptr[core_id] = WRITE_TRAP;
  ptr2[0] = 0;
}