]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/EfiDefine.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Java / Source / FrameworkTasks / org / tianocore / framework / tasks / EfiDefine.java
diff --git a/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/EfiDefine.java b/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/EfiDefine.java
new file mode 100644 (file)
index 0000000..6f12f00
--- /dev/null
@@ -0,0 +1,56 @@
+/** @file\r
+ EfiDefine class.\r
+\r
+ EfiDefine class records the UEFI return status value.\r
\r
+ Copyright (c) 2006, Intel Corporation\r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution.  The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+ **/\r
+\r
+package org.tianocore.framework.tasks;\r
+\r
+/**\r
+  EfiDefine class.\r
+\r
+  EfiDefine class records the UEFI return status value.\r
+**/\r
+public interface EfiDefine {\r
+    //\r
+    // EFI define Interface for define constant related to UEFI.\r
+    //  \r
+    static final int EFI_SUCCESS                = 0;\r
+    static final int EFI_LOAD_ERROR             = 0x80000001;\r
+    static final int EFI_INVALID_PARAMETER      = 0x80000002;\r
+    static final int EFI_UNSUPPORTED            = 0x80000003;\r
+    static final int EFI_BAD_BUFFER_SIZE        = 0x80000004;\r
+    static final int EFI_BUFFER_TOO_SMALL       = 0x80000005;\r
+    static final int EFI_NOT_READY              = 0x80000006;\r
+    static final int EFI_DEVICE_ERROR           = 0x80000007;\r
+    static final int EFI_WRITE_PROTECTED        = 0x80000008;\r
+    static final int EFI_OUT_OF_RESOURCES       = 0x80000009;\r
+    static final int EFI_VOLUME_CORRUPTED       = 0x8000000a;\r
+    static final int EFI_VOLUME_FULL            = 0x8000000b;\r
+    static final int EFI_NO_MEDIA               = 0x8000000c;\r
+    static final int EFI_MEDIA_CHANGED          = 0x8000000d;\r
+    static final int EFI_NOT_FOUND              = 0x8000000e;\r
+    static final int EFI_ACCESS_DENIED          = 0x8000000f;\r
+    static final int EFI_NO_RESPONSE            = 0x80000010;\r
+    static final int EFI_NO_MAPPING             = 0x80000011;\r
+    static final int EFI_TIMEOUT                = 0x80000012;\r
+    static final int EFI_NOT_STARTED            = 0x80000013;\r
+    static final int EFI_ALREADY_STARTED        = 0x80000014;\r
+    static final int EFI_ABORTED                = 0x80000015;\r
+    static final int EFI_ICMP_ERROR             = 0x80000016;\r
+    static final int EFI_TFTP_ERROR             = 0x80000017;\r
+    static final int EFI_PROTOCOL_ERROR         = 0x80000018;\r
+    static final int EFI_INCOMPATIBLE_VERSION   = 0x80000019;\r
+    static final int EFI_SECURITY_VIOLATION     = 0x80000020;\r
+    static final int EFI_CRC_ERROR              = 0x80000021;\r
+}\r