Ryzen/AmdCbsPkg/AmdCbsPkg.dec
2022-12-23 15:14:44 +08:00

122 lines
6.7 KiB
Plaintext

#;*****************************************************************************
#;
#; Copyright 2012 - 2021 ADVANCED MICRO DEVICES, INC. All Rights Reserved.
#;
#; AMD is granting You permission to use this software and documentation (if
#; any) (collectively, the "Software") pursuant to the terms and conditions of
#; the Software License Agreement included with the Software. If You do not have
#; a copy of the Software License Agreement, contact Your AMD representative for
#; a copy.
#;
#; You agree that You will not reverse engineer or decompile the Software, in
#; whole or in part, except as allowed by applicable law.
#;
#; WARRANTY DISCLAIMER: THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
#; KIND. AMD DISCLAIMS ALL WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
#; BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, QUALITY,
#; FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT AND WARRANTIES
#; ARISING FROM CUSTOM OF TRADE OR COURSE OF USAGE WITH RESPECT TO THE SOFTWARE,
#; INCLUDING WITHOUT LIMITATION, THAT THE SOFTWARE WILL RUN UNINTERRUPTED OR
#; ERROR-FREE. THE ENTIRE RISK ASSOCIATED WITH THE USE OF THE SOFTWARE IS
#; ASSUMED BY YOU. Some jurisdictions do not allow the exclusion of implied
#; warranties, so the above exclusion may not apply to You, but only to the
#; extent required by law.
#;
#; LIMITATION OF LIABILITY AND INDEMNIFICATION: TO THE EXTENT NOT PROHIBITED BY
#; APPLICABLE LAW, AMD AND ITS LICENSORS WILL NOT, UNDER ANY CIRCUMSTANCES BE
#; LIABLE TO YOU FOR ANY PUNITIVE, DIRECT, INCIDENTAL, INDIRECT, SPECIAL OR
#; CONSEQUENTIAL DAMAGES ARISING FROM POSSESSION OR USE OF THE SOFTWARE OR
#; OTHERWISE IN CONNECTION WITH ANY PROVISION OF THIS AGREEMENT EVEN IF AMD AND
#; ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THIS
#; INCLUDES, WITHOUT LIMITATION, DAMAGES DUE TO LOST OR MISAPPROPRIATED DATA,
#; LOST PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS INTERRUPTION,
#; FOR PERSONAL INJURY, FOR LOSS OF PRIVACY, FOR FAILURE TO MEET ANY DUTY
#; INCLUDING OF GOOD FAITH OR REASONABLE CARE, FOR NEGLIGENCE AND FOR ANY OTHER
#; PECUNIARY OR OTHER LOSS WHTSOEVER. In no event shall AMD's total liability to
#; You for all damages, losses, and causes of action (whether in contract, tort
#; (including negligence) or otherwise) exceed the amount of $50 USD. You agree
#; to defend, indemnify and hold harmless AMD, its subsidiaries and affiliates
#; and their respective licensors, directors, officers, employees, affiliates or
#; agents from and against any and all loss, damage, liability and other
#; expenses (including reasonable attorneys' fees), resulting from Your
#; possession or use of the Software or violation of the terms and conditions of
#; this Agreement.
#;
#; U.S. GOVERNMENT RESTRICTED RIGHTS: Notice to U.S. Government End Users. The
#; Software and related documentation are "commercial items", as that term is
#; defined at 48 C.F.R. Section 2.101, consisting of "commercial computer
#; software" and "commercial computer software documentation", as such terms are
#; used in 48 C.F.R. Section 12.212 and 48 C.F.R. Section 227.7202,
#; respectively. Consistent with 48 C.F.R. Section 12.212 or 48 C.F.R. Sections
#; 227.7202-1 through 227.7202-4, as applicable, the commercial computer
#; software and commercial computer software documentation are being licensed to
#; U.S. Government end users: (a) only as commercial items, and (b) with only
#; those rights as are granted to all other end users pursuant to the terms and
#; conditions set forth in this Agreement. Unpublished rights are reserved under
#; the copyright laws of the United States.
#;
#; EXPORT RESTRICTIONS: You shall adhere to all applicable U.S. import/export
#; laws and regulations, as well as the import/export control laws and
#; regulations of other countries as applicable. You further agree You will not
#; export, re-export, or transfer, directly or indirectly, any product,
#; technical data, software or source code received from AMD under this license,
#; or the direct product of such technical data or software to any country for
#; which the United States or any other applicable government requires an export
#; license or other governmental approval without first obtaining such licenses
#; or approvals, or in violation of any applicable laws or regulations of the
#; United States or the country where the technical data or software was
#; obtained. You acknowledges the technical data and software received will not,
#; in the absence of authorization from U.S. or local law and regulations as
#; applicable, be used by or exported, re-exported or transferred to: (i) any
#; sanctioned or embargoed country, or to nationals or residents of such
#; countries; (ii) any restricted end-user as identified on any applicable
#; government end-user list; or (iii) any party where the end-use involves
#; nuclear, chemical/biological weapons, rocket systems, or unmanned air
#; vehicles. For the most current Country Group listings, or for additional
#; information about the EAR or Your obligations under those regulations, please
#; refer to the website of the U.S. Bureau of Industry and Security at
#; http://www.bis.doc.gov/.
#;******************************************************************************
[Defines]
DEC_SPECIFICATION = 0x00010005
PACKAGE_NAME = AmdCbsPkg
PACKAGE_GUID = 956D6A2D-8CD3-49f3-B7A1-937AD9991EC5
PACKAGE_VERSION = 1.00
[Includes]
Include
Include/Guid
Include/Library
Include/Ppi
Include/Protocol
../Build/ResourceRVFP5
[LibraryClasses]
## @libraryclass Provide the CBS back-end code.
#
[Guids]
## AmdCbs package token space guid
gAmdCbsPkgTokenSpaceGuid = { 0x2c4e1a86, 0xa6a1, 0x4396, { 0x97, 0x93, 0xd9, 0x41, 0xa4, 0x43, 0x86, 0xd9 } }
# Include/Guid/AmdCbsConfig.h
gCbsSystemConfigurationGuid = { 0x3A997502, 0x647A, 0x4c82, {0x99, 0x8E, 0x52, 0xEF, 0x94, 0x86, 0xA2, 0x47} }
#FORMSET_ID_GUID_AMD_CBS
gLinkAmdCbsTokenSpaceGuid = { 0xB04535E3, 0x3004, 0x4946, { 0x9E, 0xB7, 0x14, 0x94, 0x28, 0x98, 0x30, 0x53 } }
[Ppis]
# Include/Ppi/CbsHookPei.h
gAmdCbsHookPpiGuid = { 0x4126c85, 0x5c4e, 0x458f, {0xab, 0xc1, 0x29, 0xf1, 0xf7, 0xda, 0x36, 0x5e } }
[Protocols]
# Include/Protocol/AmdCbsHookProtocol.h
gCbsProtocolGuid = { 0xecad4a0, 0x75e9, 0x46d7, {0xa3, 0xa6, 0x81, 0xfe, 0x17, 0x3f, 0x2e, 0xca} }
# Include/Protocol/CbsBctSmmProtocol.h
gCbsBctSmmProtocolGuid = { 0x147f8bda, 0xda41, 0x45bb, {0xbc, 0x9b, 0x82, 0x7e, 0x72, 0xdc, 0x30, 0xa1} }
# Include/Protocol/AmdCbsSetupProtocol.h
gCbsSetupProtocolGuid = { 0x5083736, 0xbcab, 0x4474, {0x8d, 0xb8, 0xfe, 0xea, 0x0, 0x1c, 0xe, 0x53} }
[PcdsDynamic]
gAmdCbsPkgTokenSpaceGuid.PcdDramType|0x0000|UINT8|0x0