| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2003, 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: breg_virt_priv.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/1 $ |
|---|
| 12 | * $brcm_Date: 5/21/04 8:54p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/basemodules/reg/breg_virt_priv.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/1 5/21/04 8:54p vsilyaev |
|---|
| 21 | * PR 11175: Merged into the integration branch |
|---|
| 22 | * |
|---|
| 23 | * Hydra_Software_Devel/BCM7411/2 5/17/04 6:55p vsilyaev |
|---|
| 24 | * Fixed read/write names |
|---|
| 25 | * |
|---|
| 26 | * Hydra_Software_Devel/BCM7411/1 5/14/04 7:14p vsilyaev |
|---|
| 27 | * just test |
|---|
| 28 | * |
|---|
| 29 | * |
|---|
| 30 | ***************************************************************************/ |
|---|
| 31 | #ifndef BREG_VIRT_PRIV_H |
|---|
| 32 | #define BREG_VIRT_PRIV_H |
|---|
| 33 | |
|---|
| 34 | #ifdef __cplusplus |
|---|
| 35 | extern "C" { |
|---|
| 36 | #endif |
|---|
| 37 | |
|---|
| 38 | typedef struct BREG_Virt_Impl |
|---|
| 39 | { |
|---|
| 40 | void * context; |
|---|
| 41 | void (*BREG_Write32)(void * context, uint32_t addr, uint32_t reg); |
|---|
| 42 | void (*BREG_Write16)(void * context, uint32_t addr, uint16_t reg); |
|---|
| 43 | void (*BREG_Write8)(void * context, uint32_t addr, uint8_t reg); |
|---|
| 44 | uint32_t (*BREG_Read32)(void * context, uint32_t addr); |
|---|
| 45 | uint16_t (*BREG_Read16)(void * context, uint32_t addr); |
|---|
| 46 | uint8_t (*BREG_Read8)(void * context, uint32_t addr); |
|---|
| 47 | }BREG_Virt_Impl; |
|---|
| 48 | |
|---|
| 49 | #ifdef __cplusplus |
|---|
| 50 | } |
|---|
| 51 | #endif |
|---|
| 52 | |
|---|
| 53 | #endif |
|---|
| 54 | /* End of File */ |
|---|
| 55 | |
|---|