blob: 72eaf400a195251316dd301a6804833d3b398a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/*
* transportshm_setup_proxy.h
*
* Shared Memory Transport setup layer
*
* This file contains the declarations of types and APIs as part
* of interface of the shared memory transport.
*
* Copyright (C) 2008-2009 Texas Instruments, Inc.
*
* This package is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
* PURPOSE.
*/
#ifndef _TRANSPORTSHM_SETUP_PROXY_H_
#define _TRANSPORTSHM_SETUP_PROXY_H_
/* Module headers */
#include <transportshm_setup.h>
/* =============================================================================
* APIs
* =============================================================================
*/
/* function that will be called in messageq_attach */
#define messageq_setup_transport_proxy_attach(remote_proc_id, shared_addr) \
transportshm_setup_attach(remote_proc_id, \
shared_addr)
/* function that will be called in messageq_detach */
#define messageq_setup_transport_proxy_detach(remote_proc_id) \
transportshm_setup_detach(remote_proc_id)
/* Shared memory req function */
#define messageq_setup_transport_proxy_shared_mem_req(shared_addr) \
transportshm_setup_shared_mem_req(shared_addr)
/* is_registered function */
#define messageq_setup_transport_proxy_is_registered(remote_proc_id) \
transportshm_setup_is_registered(remote_proc_id)
#endif /* _TRANSPORTSHM_SETUP_PROXY_H_ */
|