FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/inc/remu.h @ 316:79080922d8e4
GPF: FRAME C sources and include files imported from LoCosto source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 10 Apr 2014 04:06:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
315:1b4beffc8055 | 316:79080922d8e4 |
---|---|
1 /* | |
2 +------------------------------------------------------------------------------ | |
3 | File: rivbridge_api.h | |
4 +------------------------------------------------------------------------------ | |
5 | Copyright 2003 Texas Instruments Berlin, AG | |
6 | All rights reserved. | |
7 | | |
8 | This file is confidential and a trade secret of Texas | |
9 | Instruments Berlin, AG | |
10 | The receipt of or possession of this file does not convey | |
11 | any rights to reproduce or disclose its contents or to | |
12 | manufacture, use, or sell anything it may describe, in | |
13 | whole, or in part, without the specific written consent of | |
14 | Texas Instruments Berlin, AG. | |
15 +----------------------------------------------------------------------------- | |
16 | Purpose : Definitions for the rivbridge api. | |
17 +----------------------------------------------------------------------------- | |
18 */ | |
19 | |
20 #ifndef REMU_H | |
21 #define REMU_H | |
22 | |
23 /*==== CONSTANTS ============================================================*/ | |
24 | |
25 #define RIV_MEMORY_POOL 1 | |
26 | |
27 #define rvf_add_to_timer_list gsp_add_to_timer_list | |
28 #define rvf_change_callback_func gsp_change_callback_func | |
29 #define rvf_count_buf gsp_count_buf | |
30 #define rvf_create_legacy_task gsp_create_legacy_task | |
31 #define rvf_create_mb gsp_create_mb | |
32 #define rvf_create_task gsp_create_task | |
33 #define rvf_create_timer gsp_create_timer | |
34 #define rvf_disable gsp_disable | |
35 #define rvf_delay gsp_delay | |
36 #define rvf_delete_mb gsp_delete_mb | |
37 #define rvf_delete_mutex gsp_delete_mutex | |
38 #define rvf_dequeue gsp_dequeue | |
39 #define rvf_dump_mem gsp_dump_mem | |
40 #define rvf_dump_pool gsp_dump_pool | |
41 #define rvf_dump_tasks gsp_dump_tasks | |
42 #define rvf_enable gsp_enable | |
43 #define rvf_enqueue gsp_enqueue | |
44 #define rvf_enqueue_head gsp_enqueue_head | |
45 #define rvf_evt_wait gsp_evt_wait | |
46 #define rvf_exit_task gsp_exit_task | |
47 #define rvf_free_buf gsp_free_buf | |
48 #define rvf_free_msg gsp_free_msg | |
49 #define rvf_free_timer_msg gsp_free_timer_msg | |
50 #define rvf_get_buf gsp_get_buf | |
51 #define rvf_get_buf_size gsp_get_buf_size | |
52 #define rvf_get_context gsp_get_context | |
53 #define rvf_get_expired_entry gsp_get_expired_entry | |
54 #define rvf_get_mb_id gsp_get_mb_id | |
55 #define rvf_get_mb_param gsp_get_mb_param | |
56 #define rvf_get_mb_status gsp_get_mb_status | |
57 #define rvf_get_mb_unused_mem gsp_get_mb_unused_mem | |
58 #define rvf_get_msg_buf gsp_get_msg_buf | |
59 #define rvf_get_protected_buf gsp_get_protected_buf | |
60 #define rvf_get_taskid gsp_get_taskid | |
61 #define rvf_get_taskname gsp_get_taskname | |
62 #define rvf_get_tick_count gsp_get_tick_count | |
63 #define rvf_get_time_stamp gsp_get_time_stamp | |
64 #define rvf_init gsp_init | |
65 #define rvf_init_timer_list gsp_init_timer_list | |
66 #define rvf_init_timer_list_entry gsp_init_timer_list_entry | |
67 #define rvf_initialize_mutex gsp_initialize_mutex | |
68 //OMAPS72906 | |
69 #define rvf_initialize_static_mutex gsp_initialize_static_mutex | |
70 #define rvf_lock_mutex gsp_lock_mutex | |
71 #define rvf_mb_is_used gsp_mb_is_used | |
72 #define rvf_read_addr_mbox gsp_read_addr_mbox | |
73 #define rvf_read_mbox gsp_read_mbox | |
74 #define rvf_remove_from_queue gsp_remove_from_queue | |
75 #define rvf_remove_from_timer_list gsp_remove_from_timer_list | |
76 #define rvf_reset_timer gsp_reset_timer | |
77 #define rvf_resume_task gsp_resume_task | |
78 #define rvf_scan_next gsp_scan_next | |
79 #define rvf_send_event gsp_send_event | |
80 #define rvf_send_msg gsp_send_msg | |
81 //#define rvf_send_trace1 gsp_send_trace1 | |
82 #define rvf_set_callback_func gsp_set_callback_func | |
83 #define rvf_set_mb_param gsp_set_mb_param | |
84 #define rvf_start_timer gsp_start_timer | |
85 #define rvf_stop_timer gsp_stop_timer | |
86 #define rvf_suspend_task gsp_suspend_task | |
87 #define rvf_unlock_mutex gsp_unlock_mutex | |
88 #define rvf_update_timer_list gsp_update_timer_list | |
89 #define rvf_wait gsp_wait | |
90 #define rvf_wait_for_specific_msg gsp_wait_for_specific_msg | |
91 #define rvm_error gsp_error | |
92 /* not really a riviera frame function, but seems to be needed */ | |
93 //#define rvt_set_trace_level gsp_set_trace_level | |
94 | |
95 /*==== INCLUDES =============================================================*/ | |
96 | |
97 #include "rvf/rvf_original_api.h" | |
98 #define EXT_MEM_POOL 0x0 | |
99 #if (LOCOSTO_LITE==1) | |
100 #define INT_MEM_POOL EXT_MEM_POOL /* no distinction between internal and external pool. So make it same */ | |
101 #else | |
102 #define INT_MEM_POOL 0x1 | |
103 #endif | |
104 | |
105 /*==== TYPES ================================================================*/ | |
106 | |
107 //typedef UINT8 * T_RVT_BUFFER; | |
108 | |
109 /*==== PROTOTYPES ===========================================================*/ | |
110 | |
111 extern UINT8 gsp_trace_level; | |
112 extern UINT32 gsp_layer_mask; | |
113 | |
114 /*==== MACROS ===============================================================*/ | |
115 | |
116 | |
117 #endif /* remu_H */ |