/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* writeRoutingTable(u8 node, u8 target, u8 Link, cNorthBridge *nb)
*
* Description:
* ---------------------------------------------------------------------------------------
*/
-void writeRoutingTable(u8 node, u8 target, u8 link, cNorthBridge *nb)
+static void writeRoutingTable(u8 node, u8 target, u8 link, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u32 temp = (nb->selfRouteResponseMask | nb->selfRouteRequestMask) << (link + 1);
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* writeNodeID(u8 node, u8 nodeID, cNorthBridge *nb)
*
* Description:
* ---------------------------------------------------------------------------------------
*/
-void writeNodeID(u8 node, u8 nodeID, cNorthBridge *nb)
+static void writeNodeID(u8 node, u8 nodeID, cNorthBridge *nb)
{
u32 temp = nodeID;
ASSERT((node < nb->maxNodes) && (nodeID < nb->maxNodes));
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* readDefLnk(u8 node, cNorthBridge *nb)
*
* Description:
* ---------------------------------------------------------------------------------------
*/
-u8 readDefLnk(u8 node, cNorthBridge *nb)
+static u8 readDefLnk(u8 node, cNorthBridge *nb)
{
u32 deflink = 0;
SBDFO licr;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* enableRoutingTables(u8 node, cNorthBridge *nb)
*
* Description:
* ---------------------------------------------------------------------------------------
*/
-void enableRoutingTables(u8 node, cNorthBridge *nb)
+static void enableRoutingTables(u8 node, cNorthBridge *nb)
{
u32 temp = 0;
ASSERT((node < nb->maxNodes));
/**----------------------------------------------------------------------------------------
*
- * void
+ * static BOOL
* verifyLinkIsCoherent(u8 node, u8 Link, cNorthBridge *nbk)
*
* Description:
* ---------------------------------------------------------------------------------------
*/
-BOOL verifyLinkIsCoherent(u8 node, u8 link, cNorthBridge *nb)
+static BOOL verifyLinkIsCoherent(u8 node, u8 link, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
/**----------------------------------------------------------------------------------------
*
- * bool
+ * static bool
* readTrueLinkFailStatus(u8 node, u8 link, sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-BOOL readTrueLinkFailStatus(u8 node, u8 link, sMainData *pDat, cNorthBridge *nb)
+static BOOL readTrueLinkFailStatus(u8 node, u8 link, sMainData *pDat, cNorthBridge *nb)
{
u32 before, after, unconnected, crc;
SBDFO linkBase;
/**----------------------------------------------------------------------------------------
*
- * u8
+ * static u8
* readToken(u8 node, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u8 readToken(u8 node, cNorthBridge *nb)
+static u8 readToken(u8 node, cNorthBridge *nb)
{
u32 temp;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* writeToken(u8 node, u8 Value, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void writeToken(u8 node, u8 value, cNorthBridge *nb)
+static void writeToken(u8 node, u8 value, cNorthBridge *nb)
{
u32 temp = value;
ASSERT((node < nb->maxNodes));
/**----------------------------------------------------------------------------------------
*
- * u8
+ * static u8
* fam0FGetNumCoresOnNode(u8 node, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u8 fam0FGetNumCoresOnNode(u8 node, cNorthBridge *nb)
+static u8 fam0FGetNumCoresOnNode(u8 node, cNorthBridge *nb)
{
u32 temp;
/**----------------------------------------------------------------------------------------
*
- * u8
+ * static u8
* fam10GetNumCoresOnNode(u8 node, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u8 fam10GetNumCoresOnNode(u8 node, cNorthBridge *nb)
+static u8 fam10GetNumCoresOnNode(u8 node, cNorthBridge *nb)
{
u32 temp, leveling, cores;
u8 i;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* setTotalNodesAndCores(u8 node, u8 totalNodes, u8 totalCores, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void setTotalNodesAndCores(u8 node, u8 totalNodes, u8 totalCores, cNorthBridge *nb)
+static void setTotalNodesAndCores(u8 node, u8 totalNodes, u8 totalCores, cNorthBridge *nb)
{
SBDFO nodeIDReg;
u32 temp;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* limitNodes(u8 node, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void limitNodes(u8 node, cNorthBridge *nb)
+static void limitNodes(u8 node, cNorthBridge *nb)
{
u32 temp = 1;
ASSERT((node < nb->maxNodes));
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* writeFullRoutingTable(u8 node, u8 target, u8 reqLink, u8 rspLink, u32 BClinks, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void writeFullRoutingTable(u8 node, u8 target, u8 reqLink, u8 rspLink, u32 bClinks, cNorthBridge *nb)
+static void writeFullRoutingTable(u8 node, u8 target, u8 reqLink, u8 rspLink, u32 bClinks, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u32 value = 0;
/**----------------------------------------------------------------------------------------
*
- * BOOL
+ * static BOOL
* isCompatible(u8 currentNode, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-BOOL isCompatible(u8 node, cNorthBridge *nb)
+static BOOL isCompatible(u8 node, cNorthBridge *nb)
{
return (makeKey(node) == nb->compatibleKey);
}
/**----------------------------------------------------------------------------------------
*
- * BOOL
+ * static BOOL
* fam0fIsCapable(u8 node, sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-BOOL fam0fIsCapable(u8 node, sMainData *pDat, cNorthBridge *nb)
+static BOOL fam0fIsCapable(u8 node, sMainData *pDat, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u32 temp;
/**----------------------------------------------------------------------------------------
*
- * BOOL
+ * static BOOL
* fam10IsCapable(u8 node, sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-BOOL fam10IsCapable(u8 node, sMainData *pDat, cNorthBridge *nb)
+static BOOL fam10IsCapable(u8 node, sMainData *pDat, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u32 temp;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* fam0fStopLink(u8 currentNode, u8 currentLink, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void fam0fStopLink(u8 node, u8 link, cNorthBridge *nb)
+static void fam0fStopLink(u8 node, u8 link, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u32 temp;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* commonVoid()
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void commonVoid()
+static void commonVoid(void)
{
}
/**----------------------------------------------------------------------------------------
*
- * BOOL
+ * static BOOL
* commonReturnFalse()
*
* Description:
* @param[out] BOOL result = false
* ---------------------------------------------------------------------------------------
*/
-BOOL commonReturnFalse()
+static BOOL commonReturnFalse(void)
{
return 0;
}
/**----------------------------------------------------------------------------------------
*
- * u8
+ * static u8
* readSbLink(cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u8 readSbLink(cNorthBridge *nb)
+static u8 readSbLink(cNorthBridge *nb)
{
u32 temp;
AmdPCIReadBits(MAKE_SBDFO(makePCISegmentFromNode(0),
/**----------------------------------------------------------------------------------------
*
- * BOOL
+ * static BOOL
* verifyLinkIsNonCoherent(u8 node, u8 link, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-BOOL verifyLinkIsNonCoherent(u8 node, u8 link, cNorthBridge *nb)
+static BOOL verifyLinkIsNonCoherent(u8 node, u8 link, cNorthBridge *nb)
{
u32 linkType;
SBDFO linkBase;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* ht3SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 targetLink, sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void ht3SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 targetLink, sMainData *pDat, cNorthBridge *nb)
+static void ht3SetCFGAddrMap(u8 cfgMapIndex, u8 secBus, u8 subBus, u8 targetNode, u8 targetLink, sMainData *pDat, cNorthBridge *nb)
{
u8 curNode;
SBDFO linkBase;
/**----------------------------------------------------------------------------------------
*
- * u8
+ * static u8
* convertBitsToWidth(u8 value, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u8 convertBitsToWidth(u8 value, cNorthBridge *nb)
+static u8 convertBitsToWidth(u8 value, cNorthBridge *nb)
{
switch(value) {
case 1: return 16;
/**----------------------------------------------------------------------------------------
*
- * u8
+ * static u8
* convertWidthToBits(u8 value, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u8 convertWidthToBits(u8 value, cNorthBridge *nb)
+static u8 convertWidthToBits(u8 value, cNorthBridge *nb)
{
switch (value) {
case 16: return 1;
/**----------------------------------------------------------------------------------------
*
- * u16
+ * static u16
* ht1NorthBridgeFreqMask(u8 NodeID, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u16 ht1NorthBridgeFreqMask(u8 node, cNorthBridge *nb)
+static u16 ht1NorthBridgeFreqMask(u8 node, cNorthBridge *nb)
{
/* only up to HT1 speeds */
return (HT_FREQUENCY_LIMIT_HT1_ONLY);
/**----------------------------------------------------------------------------------------
*
- * u16
+ * static u16
* fam10NorthBridgeFreqMask(u8 NodeID, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-u16 fam10NorthBridgeFreqMask(u8 node, cNorthBridge *nb)
+static u16 fam10NorthBridgeFreqMask(u8 node, cNorthBridge *nb)
{
u8 nbCOF;
u16 supported;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* gatherLinkData(sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void gatherLinkData(sMainData *pDat, cNorthBridge *nb)
+static void gatherLinkData(sMainData *pDat, cNorthBridge *nb)
{
u8 i;
SBDFO linkBase;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* setLinkData(sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void setLinkData(sMainData *pDat, cNorthBridge *nb)
+static void setLinkData(sMainData *pDat, cNorthBridge *nb)
{
u8 i;
SBDFO linkBase;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* ht3WriteTrafficDistribution(u32 links01, u32 links10, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void ht3WriteTrafficDistribution(u32 links01, u32 links10, cNorthBridge *nb)
+static void ht3WriteTrafficDistribution(u32 links01, u32 links10, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u32 temp;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* ht1WriteTrafficDistribution(u32 links01, u32 links10, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void ht1WriteTrafficDistribution(u32 links01, u32 links10, cNorthBridge *nb)
+static void ht1WriteTrafficDistribution(u32 links01, u32 links10, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u32 route01, route10;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* fam0fBufferOptimizations(u8 node, sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void fam0fBufferOptimizations(u8 node, sMainData *pDat, cNorthBridge *nb)
+static void fam0fBufferOptimizations(u8 node, sMainData *pDat, cNorthBridge *nb)
{
#ifndef HT_BUILD_NC_ONLY
u8 i;
/**----------------------------------------------------------------------------------------
*
- * void
+ * static void
* fam10BufferOptimizations(u8 node, sMainData *pDat, cNorthBridge *nb)
*
* Description:
*
* ---------------------------------------------------------------------------------------
*/
-void fam10BufferOptimizations(u8 node, sMainData *pDat, cNorthBridge *nb)
+static void fam10BufferOptimizations(u8 node, sMainData *pDat, cNorthBridge *nb)
{
u32 temp;
SBDFO currentPtr;