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