]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/Library/BdsLib.h
ArmPkg: add reenable hook to ArmGenericTimerCounterLib
[mirror_edk2.git] / ArmPkg / Include / Library / BdsLib.h
index 3d9e1954f3949af0f5e7680027d972708c2b290c..4528c2e8739b2abb586643b09665af76dab7a733 100644 (file)
@@ -15,6 +15,9 @@
 #ifndef __BDS_ENTRY_H__\r
 #define __BDS_ENTRY_H__\r
 \r
+#define IS_DEVICE_PATH_NODE(node,type,subtype)    \\r
+        (((node)->Type == (type)) && ((node)->SubType == (subtype)))\r
+\r
 /**\r
   This is defined by the UEFI specs, don't change it\r
 **/\r
@@ -137,43 +140,6 @@ BootOptionAllocateBootIndex (
   VOID\r
   );\r
 \r
-/**\r
-  Start a Linux kernel from a Device Path\r
-\r
-  @param  LinuxKernel           Device Path to the Linux Kernel\r
-  @param  Parameters            Linux kernel arguments\r
-\r
-  @retval EFI_SUCCESS           All drivers have been connected\r
-  @retval EFI_NOT_FOUND         The Linux kernel Device Path has not been found\r
-  @retval EFI_OUT_OF_RESOURCES  There is not enough resource memory to store the matching results.\r
-\r
-**/\r
-EFI_STATUS\r
-BdsBootLinuxAtag (\r
-  IN  EFI_DEVICE_PATH_PROTOCOL* LinuxKernelDevicePath,\r
-  IN  EFI_DEVICE_PATH_PROTOCOL* InitrdDevicePath,\r
-  IN  CONST CHAR8*              Arguments\r
-  );\r
-\r
-/**\r
-  Start a Linux kernel from a Device Path\r
-\r
-  @param[in]  LinuxKernelDevicePath  Device Path to the Linux Kernel\r
-  @param[in]  InitrdDevicePath       Device Path to the Initrd\r
-  @param[in]  Arguments              Linux kernel arguments\r
-\r
-  @retval EFI_SUCCESS           All drivers have been connected\r
-  @retval EFI_NOT_FOUND         The Linux kernel Device Path has not been found\r
-  @retval EFI_OUT_OF_RESOURCES  There is not enough resource memory to store the matching results.\r
-\r
-**/\r
-EFI_STATUS\r
-BdsBootLinuxFdt (\r
-  IN  EFI_DEVICE_PATH_PROTOCOL* LinuxKernelDevicePath,\r
-  IN  EFI_DEVICE_PATH_PROTOCOL* InitrdDevicePath,\r
-  IN  CONST CHAR8*              Arguments\r
-  );\r
-\r
 /**\r
   Start an EFI Application from a Device Path\r
 \r