• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2 Platform CPU Data
3 
4 Copyright (c) 2013-2015 Intel Corporation.
5 
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution.  The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10 
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 
14 **/
15 
16 
17 #include "CommonHeader.h"
18 
19 #include "SetupPlatform.h"
20 
21 
22 #define NUMBER_OF_PACKAGES 1
23 
24 CHAR16 *SocketNames[NUMBER_OF_PACKAGES];
25 CHAR16 *AssetTags[NUMBER_OF_PACKAGES];
26 
27 CHAR16 EmptyString[] = L" ";
28 CHAR16 SocketString[] = L"LGA775";
29 
30 VOID
ProducePlatformCpuData(VOID)31 ProducePlatformCpuData (
32   VOID
33   )
34 {
35   UINTN                                      Index;
36 
37   for (Index = 0; Index < NUMBER_OF_PACKAGES; Index++) {
38 
39     //
40     // The String Package of a module is registered together with all IFR packages.
41     // So we just arbitrarily pick a package GUID that is always installed to get the string.
42     //
43     AssetTags[Index] = EmptyString;
44     SocketNames[Index] = SocketString;
45   }
46 }
47