hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/** @file
 
  @copyright
  Copyright 2017 - 2021 Intel Corporation. <BR>
 
  SPDX-License-Identifier: BSD-2-Clause-Patent
**/
 
#ifndef _UBA_BOARD_SIO_INFO_H_
#define _UBA_BOARD_SIO_INFO_H_
 
#include <SioRegs.h>
 
#define BOARD_SIO_INFO_DATA_SIGNATURE  SIGNATURE_32 ('P', 'S', 'I', 'O')
#define BOARD_SIO_INFO_DATA_VERSION    01
 
// {32C1F731-C2CD-4325-888B-60A0C3DEBB30}
#define   PLATFORM_BOARD_SIO_INFO_DATA_GUID \
{ 0x32c1f731, 0xc2cd, 0x4325, { 0x88, 0x8b, 0x60, 0xa0, 0xc3, 0xde, 0xbb, 0x30 } }
 
//
// board sio information table
//
typedef struct _PEI_BOARD_SIO_INFO{
  //
  // Header information
  //
  INT32                    Signature;
  INT32                    Version;
  //
  // SIO initialization table
  //
  UINT8                   SioIndexPort;               // SIO Index Port value
  UINT8                   SioDataPort;                // SIO Data Port value
  SIO_INDEX_DATA          *mSioInitTable;             // SIO init table
  UINT8                   NumSioItems;                // Number of items in the SIO init table.
} PEI_BOARD_SIO_INFO;
 
EFI_STATUS
PlatformGetBoardSioInfo (
  OUT   PEI_BOARD_SIO_INFO   *BoardSioInfoData
);
 
STATIC  EFI_GUID gPlatformBoardSioInfoDataGuid = PLATFORM_BOARD_SIO_INFO_DATA_GUID;
 
#endif