4 * Southbridge IO access common routine define file
8 * @xrefitem bom "File Content Label" "Release Content"
11 * @e \$Revision:$ @e \$Date:$
14 /*;********************************************************************************
16 ; Copyright (c) 2011, Advanced Micro Devices, Inc.
17 ; All rights reserved.
19 ; Redistribution and use in source and binary forms, with or without
20 ; modification, are permitted provided that the following conditions are met:
21 ; * Redistributions of source code must retain the above copyright
22 ; notice, this list of conditions and the following disclaimer.
23 ; * Redistributions in binary form must reproduce the above copyright
24 ; notice, this list of conditions and the following disclaimer in the
25 ; documentation and/or other materials provided with the distribution.
26 ; * Neither the name of Advanced Micro Devices, Inc. nor the names of
27 ; its contributors may be used to endorse or promote products derived
28 ; from this software without specific prior written permission.
30 ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
31 ; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
32 ; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
33 ; DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
34 ; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
35 ; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
36 ; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
37 ; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38 ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
39 ; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41 ;*********************************************************************************/
46 /*--------------------------- Documentation Pages ---------------------------*/
47 /**< SbStall - Reserved */
48 void SbStall (IN unsigned int uSec);
50 /**< cimSbStall - Reserved */
51 void cimSbStall (IN unsigned int uSec);
53 /**< SbReset - Reserved */
56 /**< outPort80 - Reserved */
57 void outPort80 (IN unsigned int pcode);
59 /**< outPort80 - Reserved */
60 void outPort1080 (IN unsigned int pcode);
62 /**< getEfuseStatue - Reserved */
63 void getEfuseStatus (IN void* Value);
65 /**< getEfuseByte - Reserved */
66 unsigned char getEfuseByte (IN unsigned char Index);
68 /**< AmdSbDispatcher - Reserved */
69 AGESA_STATUS AmdSbDispatcher (IN void *pConfig);
71 /**< AmdSbCopyMem - Reserved */
72 void AmdSbCopyMem (IN void* pDest, IN void* pSource, IN unsigned int Length);
74 /**< GetRomSigPtr - Reserved */
75 void* GetRomSigPtr (IN unsigned int* RomSigPtr);
77 /**< RWXhciIndReg - Reserved */
78 void RWXhciIndReg (IN unsigned int Index, IN unsigned int AndMask, IN unsigned int OrMask);
80 /**< RWXhciIndReg - Reserved */
81 void RWXhci0IndReg (IN unsigned int Index, IN unsigned int AndMask, IN unsigned int OrMask);
83 /**< RWXhciIndReg - Reserved */
84 void RWXhci1IndReg (IN unsigned int Index, IN unsigned int AndMask, IN unsigned int OrMask);
86 /**< AcLossControl - Reserved */
87 void AcLossControl (IN unsigned char AcLossControlValue);
89 /**< SbVgaInit - Reserved */
90 void SbVgaInit (void);
92 /**< RecordSbConfigPtr - Reserved */
93 void RecordSbConfigPtr (IN unsigned int SbConfigPtr);
95 /**< SbGpioInit - Reserved */
98 IN SB_GPIO_INIT_ENTRY *SbGpioInitTable
101 /**< SbGpioControl - Reserved */
104 IN SB_GPIO_CONTROL_ENTRY *SbGpio
107 /**< SbFlashUsbSmi - Reserved */
108 void SbFlashUsbSmi (void);
110 /**< SbEnableUsbIrq1Irq12ToPicApic - Reserved */
111 void SbEnableUsbIrq1Irq12ToPicApic (void);