00001 /*-------------------------------------------------------------------- 00002 * 00003 * (C) Copyright Koninklijke Philips Electronics NV 2006. 00004 * All rights reserved. This software is licensed under the terms of 00005 * version 2.1 of the GNU Lesser General Public License as published 00006 * by the Free Software Foundation. For licensing and warranty 00007 * information, see the file COPYING in the main directory. 00008 * 00009 *------------------------------------------------------------------*/ 00010 00011 #include <trt.h> 00012 00013 processor_t trt_processor_table[TRT_MAX_NUM_PROCESSORS_PER_TILE]; 00014 00015 thread_table_t trt_thread_table; 00016 00017 volatile sym_table_t trt_sym_table; 00018 00019 struct 00020 { 00021 int init; 00022 int lock; 00023 void *freelist; 00024 void *rover; 00025 void *base; 00026 } trt_heap = {0, 1, NULL, NULL, NULL}; 00027 00028 int trt_serial_lock = 0; 00029 00030 int trt_num_processors = 0; 00031 00032 int trt_tile_idx = 0; 00033 00034 int trt_next_thread_ID = 1;