• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**@file
2   Subsystem IDs setting for multiplatform.
3 
4   This file includes package header files, library classes.
5 
6   Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
7 
8 
9   This program and the accompanying materials are licensed and made available under
10 
11   the terms and conditions of the BSD License that accompanies this distribution.
12 
13   The full text of the license may be found at
14 
15   http://opensource.org/licenses/bsd-license.php.
16 
17 
18 
19   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20 
21   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 
23 
24 
25 **/
26 
27 #include <Guid/PlatformInfo.h>
28 #include <Library/BaseMemoryLib.h>
29 
30 //
31 // Default Vendor ID and Subsystem ID
32 //
33 #define SUBSYSTEM_VENDOR_ID1   0x8086
34 #define SUBSYSTEM_DEVICE_ID1   0x1999
35 #define SUBSYSTEM_SVID_SSID1   (SUBSYSTEM_VENDOR_ID1 + (SUBSYSTEM_DEVICE_ID1 << 16))
36 
37 #define SUBSYSTEM_VENDOR_ID2   0x8086
38 #define SUBSYSTEM_DEVICE_ID2   0x1888
39 #define SUBSYSTEM_SVID_SSID2   (SUBSYSTEM_VENDOR_ID2 + (SUBSYSTEM_DEVICE_ID2 << 16))
40 
41 #define SUBSYSTEM_VENDOR_ID   0x8086
42 #define SUBSYSTEM_DEVICE_ID   0x1234
43 #define SUBSYSTEM_SVID_SSID   (SUBSYSTEM_VENDOR_ID + (SUBSYSTEM_DEVICE_ID << 16))
44 
45 EFI_STATUS
46 InitializeBoardSsidSvid (
47     IN CONST EFI_PEI_SERVICES       **PeiServices,
48     IN EFI_PLATFORM_INFO_HOB        *PlatformInfoHob
49   );
50