comparison src/gpf2/inc/remu.h @ 1:864b8cc0cf63

src/gpf2: preened GPF goo from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 23:38:58 +0000
parents
children
comparison
equal deleted inserted replaced
0:945cf7f506b2 1:864b8cc0cf63
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_delay gsp_delay
34 #define rvf_delete_mb gsp_delete_mb
35 #define rvf_delete_mutex gsp_delete_mutex
36 #define rvf_dequeue gsp_dequeue
37 #define rvf_dump_mem gsp_dump_mem
38 #define rvf_dump_pool gsp_dump_pool
39 #define rvf_dump_tasks gsp_dump_tasks
40 #define rvf_enqueue gsp_enqueue
41 #define rvf_enqueue_head gsp_enqueue_head
42 #define rvf_evt_wait gsp_evt_wait
43 #define rvf_exit_task gsp_exit_task
44 #define rvf_free_buf gsp_free_buf
45 #define rvf_free_msg gsp_free_msg
46 #define rvf_free_timer_msg gsp_free_timer_msg
47 #define rvf_get_buf gsp_get_buf
48 #define rvf_get_buf_size gsp_get_buf_size
49 #define rvf_get_context gsp_get_context
50 #define rvf_get_expired_entry gsp_get_expired_entry
51 #define rvf_get_mb_id gsp_get_mb_id
52 #define rvf_get_mb_param gsp_get_mb_param
53 #define rvf_get_mb_status gsp_get_mb_status
54 #define rvf_get_mb_unused_mem gsp_get_mb_unused_mem
55 #define rvf_get_msg_buf gsp_get_msg_buf
56 #define rvf_get_protected_buf gsp_get_protected_buf
57 #define rvf_get_taskid gsp_get_taskid
58 #define rvf_get_taskname gsp_get_taskname
59 #define rvf_get_tick_count gsp_get_tick_count
60 #define rvf_get_time_stamp gsp_get_time_stamp
61 #define rvf_init gsp_init
62 #define rvf_init_timer_list gsp_init_timer_list
63 #define rvf_init_timer_list_entry gsp_init_timer_list_entry
64 #define rvf_initialize_mutex gsp_initialize_mutex
65 #define rvf_lock_mutex gsp_lock_mutex
66 #define rvf_mb_is_used gsp_mb_is_used
67 #define rvf_read_addr_mbox gsp_read_addr_mbox
68 #define rvf_read_mbox gsp_read_mbox
69 #define rvf_remove_from_queue gsp_remove_from_queue
70 #define rvf_remove_from_timer_list gsp_remove_from_timer_list
71 #define rvf_resume_task gsp_resume_task
72 #define rvf_scan_next gsp_scan_next
73 #define rvf_send_event gsp_send_event
74 #define rvf_send_msg gsp_send_msg
75 #define rvf_send_trace1 gsp_send_trace1
76 #define rvf_set_callback_func gsp_set_callback_func
77 #define rvf_set_mb_param gsp_set_mb_param
78 #define rvf_start_timer gsp_start_timer
79 #define rvf_stop_timer gsp_stop_timer
80 #define rvf_suspend_task gsp_suspend_task
81 #define rvf_unlock_mutex gsp_unlock_mutex
82 #define rvf_update_timer_list gsp_update_timer_list
83 #define rvf_wait gsp_wait
84 #define rvf_wait_for_specific_msg gsp_wait_for_specific_msg
85
86 /* not really a riviera frame function, but seems to be needed */
87 #define rvt_set_trace_level gsp_set_trace_level
88
89 /*==== INCLUDES =============================================================*/
90
91 #include "rvf_original_api.h"
92
93 /*==== TYPES ================================================================*/
94
95 typedef UINT8 * T_RVT_BUFFER;
96
97 /*==== PROTOTYPES ===========================================================*/
98
99 extern UINT8 gsp_trace_level;
100 extern UINT32 gsp_layer_mask;
101
102 /*==== MACROS ===============================================================*/
103
104
105 #endif /* remu_H */