5 * Internal access to HT Interface, for non-coherent features.
7 * This file provides definitions used by HT internal modules. The
8 * external HT interface (in agesa.h) is accessed using these methods.
9 * This keeps the HT Feature implementations abstracted from the HT
12 * @xrefitem bom "File Content Label" "Release Content"
14 * @e sub-project: HyperTransport
15 * @e \$Revision: 44324 $ @e \$Date: 2010-12-22 02:16:51 -0700 (Wed, 22 Dec 2010) $
19 *****************************************************************************
21 * Copyright (C) 2012 Advanced Micro Devices, Inc.
22 * All rights reserved.
24 * Redistribution and use in source and binary forms, with or without
25 * modification, are permitted provided that the following conditions are met:
26 * * Redistributions of source code must retain the above copyright
27 * notice, this list of conditions and the following disclaimer.
28 * * Redistributions in binary form must reproduce the above copyright
29 * notice, this list of conditions and the following disclaimer in the
30 * documentation and/or other materials provided with the distribution.
31 * * Neither the name of Advanced Micro Devices, Inc. nor the names of
32 * its contributors may be used to endorse or promote products derived
33 * from this software without specific prior written permission.
35 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
36 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
37 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
38 * DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
39 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
40 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
41 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
42 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
43 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46 * ***************************************************************************
50 #ifndef _HT_INTERFACE_NONCOHERENT_H_
51 #define _HT_INTERFACE_NONCOHERENT_H_
53 /*----------------------------------------------------------------------------
54 * Mixed (DEFINITIONS AND MACROS / TYPEDEFS, STRUCTURES, ENUMS)
56 *----------------------------------------------------------------------------
59 /*-----------------------------------------------------------------------------
60 * DEFINITIONS AND MACROS
62 *-----------------------------------------------------------------------------
65 /*----------------------------------------------------------------------------
66 * TYPEDEFS, STRUCTURES, ENUMS
68 *----------------------------------------------------------------------------
71 /*----------------------------------------------------------------------------
72 * Prototypes to Interface from Feature Code
74 *----------------------------------------------------------------------------
78 * Manually control bus number assignment.
82 GetOverrideBusNumbers (
91 * Get Manual BUID assignment list.
95 GetManualBuidSwapList (
98 OUT BUID_SWAP_LIST **List,
103 * Override capabilities of a device.
108 GetDeviceCapOverride (
112 IN PCI_ADDR PciAddress,
116 IN OUT UINT8 *LinkWidthIn,
117 IN OUT UINT8 *LinkWidthOut,
118 IN OUT UINT32 *FreqCap,
119 IN OUT UINT32 *Clumping,
124 * Get limits for non-coherent Links.
132 IN OUT UINT8 *DownstreamLinkWidthLimit,
133 IN OUT UINT8 *UpstreamLinkWidthLimit,
134 IN OUT UINT32 *PcbFreqCap,
138 #endif /* _HT_INTERFACE_NONCOHERENT_H_ */