OemDevicePath.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /** @file
  2. *
  3. * Copyright (c) 2015 - 2017, Hisilicon Limited. All rights reserved.
  4. * Copyright (c) 2015 - 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 _OEM_DEVICE_PATH_H_
  16. #define _OEM_DEVICE_PATH_H_
  17. #include <Protocol/DevicePath.h>
  18. typedef enum
  19. {
  20. C_NIC = 1,
  21. C_SATA = 2,
  22. C_SAS = 3,
  23. C_USB = 4,
  24. } CONTROLLER_TYPE;
  25. typedef struct{
  26. VENDOR_DEVICE_PATH Vender;
  27. UINT8 ControllerType;
  28. UINT8 Socket;
  29. UINT8 Port;
  30. } EXT_VENDOR_DEVICE_PATH;
  31. typedef struct{
  32. UINT16 BootIndex;
  33. UINT16 Port;
  34. } SATADES;
  35. typedef struct{
  36. UINT16 BootIndex;
  37. UINT16 ParentPortNumber;
  38. UINT16 InterfaceNumber;
  39. } USBDES;
  40. typedef struct{
  41. UINT16 BootIndex;
  42. UINT16 Port;
  43. } PXEDES;
  44. #endif