]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
MdeModulePkg: BaseSerialPortLib16550 library to support PCI UART device.
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index e04246a2f419eb87b27803f73e696a8c7509b568..47d9fdda1a7b7493a8ec27511724be794abe5053 100644 (file)
   ## Include/Ppi/PostBootScriptTable.h\r
   gPeiPostScriptTablePpiGuid    =  { 0x88c9d306, 0x900, 0x4eb5, { 0x82, 0x60, 0x3e, 0x2d, 0xbe, 0xda, 0x1f, 0x89}}\r
 \r
+  ## Include/Ppi/SerialPortPei.h\r
+  gPeiSerialPortPpiGuid         =  { 0x490e9d85, 0x8aef, 0x4193, { 0x8e, 0x56, 0xf7, 0x34, 0xa9, 0xff, 0xac, 0x8b}}\r
+\r
 [Protocols]\r
   ## Load File protocol provides capability to load and unload EFI image into memory and execute it.\r
   #  Include/Protocol/LoadPe32Image.h\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0|UINT64|0x30001015\r
 \r
   ## Smbios version\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0207|UINT16|0x00010055\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208|UINT16|0x00010055\r
 \r
   ## TFTP BlockSize. Initial value 0 means using default block size which is (MTU-IP_HEADER-UDP_HEADER-TFTP_HEADER)\r
   #  to handle all link layers. If the value is non zero, the PCD value will be used as block size.\r
   ## Default Creator Revision for ACPI table creation.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision|0x01000013|UINT32|0x30001038\r
 \r
+  ## UART clock frequency is for the baud rate configuration.\r
+  # @Prompt Serial Port Clock Rate\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|1843200|UINT32|0x00010066\r
+  \r
+  ## PCI Serial Device Info. It is an array of Device, Function, and Power Management\r
+  #  information that describes the path that contains zero or more PCI to PCI briges \r
+  #  followed by a PCI serial device.  Each array entry is 4-bytes in length.  The \r
+  #  first byte is the PCI Device Number, then second byte is the PCI Function Number, \r
+  #  and the last two bytes are the offset to the PCI power management capabilities \r
+  #  register used to manage the D0-D3 states.  If a PCI power management capabilities \r
+  #  register is not present, then the last two bytes in the offset is set to 0.  The \r
+  #  array is terminated by an array entry with a PCI Device Number of 0xFF.  For a \r
+  #  non-PCI fixed address serial device, such as an ISA serial device, the value is 0xFF.\r
+  # @Prompt Pci Serial Device Info\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF}|VOID*|0x00010067\r
+\r
+  ## Serial Port Extended Transmit FIFO Size.  The default is 64 bytes. \r
+  # @Prompt Pci Port Extended Transmit FIFO Size in Bytes\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|64|UINT32|0x00010068\r
+  \r
 [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.\r
   #  This PCD could be set to 0 then console output could be at max column and max row.\r