blob: 7f212810d3e424c9701794a39a0d4599e7dcaa4c [file] [log] [blame]
Frank Vibrans2b4c8312011-02-14 18:30:54 +00001/* $NoKeywords:$ */
2/**
3 * @file
4 *
5 * Northbridge utility routines.
6 *
7 * @xrefitem bom "File Content Label" "Release Content"
8 * @e project: AGESA
9 * @e sub-project: HyperTransport
efdesign980bcfff72011-09-14 15:52:09 -060010 * @e \$Revision: 34897 $ @e \$Date: 2010-07-14 10:07:10 +0800 (Wed, 14 Jul 2010) $
Frank Vibrans2b4c8312011-02-14 18:30:54 +000011 *
12 */
13/*
14 *****************************************************************************
15 *
16 * Copyright (c) 2011, Advanced Micro Devices, Inc.
17 * All rights reserved.
Edward O'Callaghane963b382014-07-06 19:27:14 +100018 *
Frank Vibrans2b4c8312011-02-14 18:30:54 +000019 * 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.
Edward O'Callaghane963b382014-07-06 19:27:14 +100026 * * Neither the name of Advanced Micro Devices, Inc. nor the names of
27 * its contributors may be used to endorse or promote products derived
Frank Vibrans2b4c8312011-02-14 18:30:54 +000028 * from this software without specific prior written permission.
Edward O'Callaghane963b382014-07-06 19:27:14 +100029 *
Frank Vibrans2b4c8312011-02-14 18:30:54 +000030 * 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.
Edward O'Callaghane963b382014-07-06 19:27:14 +100040 *
Frank Vibrans2b4c8312011-02-14 18:30:54 +000041 * ***************************************************************************
42 *
43 */
44
45#ifndef _HT_NB_UTILITIES_FAM14_H_
46#define _HT_NB_UTILITIES_FAM14_H_
47
48/**
49 * Return the number of cores (1 based count) on Node.
50 *
51 */
52UINT8
53Fam14GetNumCoresOnNode (
54 IN UINT8 Node,
55 IN NORTHBRIDGE *Nb
56 );
57
58UINT8
59Fam14GetNodeCount (
60 IN NORTHBRIDGE *Nb
61 );
62
efdesign980bcfff72011-09-14 15:52:09 -060063AP_MAIL_INFO
64Fam14RetrieveMailbox (
65 IN UINT8 Node,
66 IN NORTHBRIDGE *Nb
67 );
Frank Vibrans2b4c8312011-02-14 18:30:54 +000068#endif // _HT_NB_UTILITIES_FAM14_H_