|
Last change
on this file since 46 was
46,
checked in by megakiss, 11 years ago
|
|
459Mhz로 OTC 주파수 변경
|
-
Property svn:executable set to
*
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2007-2008, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: bsettop_mem.h $ |
|---|
| 11 | * $brcm_Revision: 2 $ |
|---|
| 12 | * $brcm_Date: 1/8/08 10:18a $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /BSEAV/api/include/bsettop_mem.h $ |
|---|
| 19 | * |
|---|
| 20 | * 2 1/8/08 10:18a vsilyaev |
|---|
| 21 | * PR 35854: Use special type to hide 'void *' from the proxy layer |
|---|
| 22 | * |
|---|
| 23 | * 1 11/26/07 5:23p vsilyaev |
|---|
| 24 | * PR 35854: Memory management interface |
|---|
| 25 | * |
|---|
| 26 | * |
|---|
| 27 | * |
|---|
| 28 | ***************************************************************************/ |
|---|
| 29 | |
|---|
| 30 | #ifndef BSETTOP_MEM_H__ |
|---|
| 31 | #define BSETTOP_MEM_H__ |
|---|
| 32 | |
|---|
| 33 | #ifdef __cplusplus |
|---|
| 34 | extern "C" |
|---|
| 35 | { |
|---|
| 36 | #endif |
|---|
| 37 | |
|---|
| 38 | /* This typedef works around an issue with the auto-generated proxy layer. */ |
|---|
| 39 | typedef void * bmem_ptr; |
|---|
| 40 | |
|---|
| 41 | /* |
|---|
| 42 | Summary: |
|---|
| 43 | Cached memory allocation function |
|---|
| 44 | Description: |
|---|
| 45 | This allocates a buffer on the current heap and in cached memory for use elsewhere. |
|---|
| 46 | */ |
|---|
| 47 | bmem_ptr bmem_alloc( |
|---|
| 48 | size_t buffer_length |
|---|
| 49 | ); |
|---|
| 50 | |
|---|
| 51 | /* |
|---|
| 52 | Summary: |
|---|
| 53 | Memory de-allocation for external use |
|---|
| 54 | Description: |
|---|
| 55 | This frees a buffer allocated with bsettop_mem_alloc() |
|---|
| 56 | */ |
|---|
| 57 | void bmem_free( |
|---|
| 58 | void *buffer |
|---|
| 59 | ); |
|---|
| 60 | |
|---|
| 61 | #ifdef __cplusplus |
|---|
| 62 | } |
|---|
| 63 | #endif |
|---|
| 64 | |
|---|
| 65 | #endif /* BSETTOP_MEM_H__ */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.