86 lines
2.9 KiB
Plaintext
86 lines
2.9 KiB
Plaintext
## @file
|
|
#
|
|
# SIO Package Description file
|
|
#
|
|
#******************************************************************************
|
|
#* Copyright (c) 2014, Insyde Software Corp. All Rights Reserved.
|
|
#*
|
|
#* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
#* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
#* any part of this publication in any form, by any means, without the prior
|
|
#* written permission of Insyde Software Corporation.
|
|
#*
|
|
#******************************************************************************
|
|
|
|
|
|
################################################################################
|
|
#
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
#
|
|
################################################################################
|
|
[Defines]
|
|
|
|
################################################################################
|
|
#
|
|
# Library Class section - list of all Library Classes needed by this Platform.
|
|
#
|
|
################################################################################
|
|
[LibraryClasses]
|
|
|
|
[LibraryClasses.common.PEIM]
|
|
|
|
################################################################################
|
|
#
|
|
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
|
|
#
|
|
################################################################################
|
|
[PcdsFeatureFlag]
|
|
#
|
|
# If Supported PCD is TRUE, the $(SIO_PKG) will be built into FV,
|
|
# otherwise the $(SIO_PKG) would not be built.
|
|
#
|
|
gSioGuid.PcdSioDummySupported|TRUE
|
|
|
|
[PcdsFixedAtBuild]
|
|
#
|
|
# Device Number: Com:0x01, Floppy:0x02, LPT:0x3, KYBD:0x04, MOUSE:0x05
|
|
#
|
|
# TYPEH: SIO ID High Byte
|
|
# TYPEL: SIO ID Low Byte
|
|
# SI: SIO Instance
|
|
# D: SIO Device
|
|
# DI: SIO Device Instance
|
|
# DE: SIO Device Enable
|
|
# DBASE: SIO Device Base Address
|
|
# SiIZE: SIO Device Size
|
|
# LDN: SIO Device LDN
|
|
# DIRQ: SIO Device IRQ
|
|
# DDMA: SIO Device DMA
|
|
#
|
|
gSioGuid.PcdSioDummyCfg|{ \
|
|
#SIO TYPE | SI | D | DI | DE | DBASE | SIZE| LDN | DIRQ| DDMA
|
|
#-----------------------------------------------------------------------------
|
|
0xFF, 0x00, 0x00, 0x01, 0x00, 0x01, UINT16(0x03F8), 0x00, 0x00, 0x04, 0x00, \ # Com
|
|
0xFF, 0x00, 0x00, 0x01, 0x01, 0x01, UINT16(0x02F8), 0x00, 0x00, 0x03, 0x00, \ # Com
|
|
0xFF, 0x00, 0x00, 0x04, 0x00, 0x01, UINT16(0x0060), 0x00, 0x00, 0x01, 0x00, \ # KYBD
|
|
0xFF, 0x00, 0x00, 0x05, 0x01, 0x01, UINT16(0x0060), 0x00, 0x00, 0x0C, 0x00, \ # MOUSE
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, UINT16(0x0000), 0x00, 0x00, 0x00, 0x00 \ # End Entry
|
|
}
|
|
|
|
[Components.$(PEI_ARCH)]
|
|
!if gSioGuid.PcdSioDummySupported
|
|
SioDummyPkg/SioDummyPei/SioDummyPei.inf {
|
|
<LibraryClasses>
|
|
SioLib|SioDummyPkg/Library/SioLib/SioLib.inf
|
|
}
|
|
!endif
|
|
|
|
[Components.$(DXE_ARCH)]
|
|
!if gSioGuid.PcdSioDummySupported
|
|
SioDummyPkg/SioDummyDxe/SioDummyDxe.inf {
|
|
<LibraryClasses>
|
|
SioLib|SioDummyPkg/Library/SioLib/SioLib.inf
|
|
}
|
|
!endif
|
|
|