forked from haraldwolff/avr-fw-modules
13 lines
238 B
C
13 lines
238 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
typedef struct {
|
||
|
intptr_t atomic_ip;
|
||
|
intptr_t spinlock_ip;
|
||
|
intptr_t last_vect[4];
|
||
|
intptr_t last_late_vect[4];
|
||
|
} rt_dbg_t;
|
||
|
|
||
|
#define rt_dbg ((rt_dbg_t*)((int)__malloc_heap_end - sizeof( rt_dbg_t ) ) )
|