SnpPlatformProtocol.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. /** @file
  2. *
  3. * Copyright (c) 2017, Hisilicon Limited. All rights reserved.
  4. * Copyright (c) 2017, Linaro Limited. All rights reserved.
  5. *
  6. * This program and the accompanying materials
  7. * are licensed and made available under the terms and conditions of the BSD License
  8. * which accompanies this distribution. The full text of the license may be found at
  9. * http://opensource.org/licenses/bsd-license.php
  10. *
  11. * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
  13. *
  14. **/
  15. #ifndef _SNP_PLATFORM_PROTOCOL_H_
  16. #define _SNP_PLATFORM_PROTOCOL_H_
  17. #define HISI_SNP_PLATFORM_PROTOCOL_GUID \
  18. { \
  19. 0x81321f27, 0xff58, 0x4a1d, 0x99, 0x97, 0xd, 0xcc, 0xfa, 0x82, 0xf4, 0x6f \
  20. }
  21. typedef struct _HISI_PLATFORM_SNP_PROTOCOL HISI_PLATFORM_SNP_PROTOCOL;
  22. struct _HISI_PLATFORM_SNP_PROTOCOL {
  23. UINT32 ControllerId;
  24. UINT32 Enable;
  25. };
  26. extern EFI_GUID gHisiSnpPlatformProtocolGuid;
  27. #endif