2014-02-10 17:50:44 -05:00
|
|
|
// variables defining memory layout
|
|
|
|
// (these probably belong somewhere else...)
|
|
|
|
extern uint32_t _text_end;
|
|
|
|
extern uint32_t _data_start_init;
|
2014-01-24 19:44:31 -05:00
|
|
|
extern uint32_t _ram_start;
|
2014-02-10 17:50:44 -05:00
|
|
|
extern uint32_t _data_start;
|
|
|
|
extern uint32_t _data_end;
|
|
|
|
extern uint32_t _bss_start;
|
|
|
|
extern uint32_t _bss_end;
|
2014-01-24 19:44:31 -05:00
|
|
|
extern uint32_t _heap_start;
|
2014-01-29 05:51:38 -05:00
|
|
|
extern uint32_t _heap_end;
|
2014-02-10 17:50:44 -05:00
|
|
|
extern uint32_t _stack_end;
|
|
|
|
extern uint32_t _ram_end;
|
2014-01-24 19:44:31 -05:00
|
|
|
|
|
|
|
void gc_collect(void);
|
|
|
|
|
|
|
|
MP_DECLARE_CONST_FUN_OBJ(pyb_gc_obj);
|