123456789101112131415161718192021222324 |
- #include "../private.h"
- #include "../node.h"
- #ifdef TARGET_SIMNT
- # define START _data_start__
- # define END _data_end__
- #else
- # define START wrs_kernel_data_start
- # define END wrs_kernel_data_end
- #endif
- extern char START, END;
- char *lub_heap_data_start = &START;
- char *lub_heap_data_end = &END;
- /*--------------------------------------------------------- */
- void
- lub_heap_scan_data(void)
- {
- /* now scan the memory */
- lub_heap_scan_memory(lub_heap_data_start,
- lub_heap_data_end-lub_heap_data_start);
- }
- /*--------------------------------------------------------- */
|