summaryrefslogtreecommitdiff
path: root/ShellPkg/Include
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-15 18:42:13 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-15 18:42:13 +0000
commit08d7f8e83d17646d6170819fcb9ae1e17eb6199a (patch)
tree2390429729858cf457f19e84c7abdd20f06ae830 /ShellPkg/Include
parent7e7e7fec0ab7ba7ee2a434be426a3e0dc36126f9 (diff)
downloadedk2-platforms-08d7f8e83d17646d6170819fcb9ae1e17eb6199a.tar.xz
Fix ShellPkg build errors for UNIXGCC toolchain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8555 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Include')
-rw-r--r--ShellPkg/Include/Library/ShellLib.h2
-rw-r--r--ShellPkg/Include/Protocol/EfiShell.h6
-rw-r--r--ShellPkg/Include/Protocol/EfiShellEnvironment2.h6
-rw-r--r--ShellPkg/Include/Protocol/EfiShellInterface.h12
4 files changed, 13 insertions, 13 deletions
diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Library/ShellLib.h
index ad3cc01f42..1a9ef5ac59 100644
--- a/ShellPkg/Include/Library/ShellLib.h
+++ b/ShellPkg/Include/Library/ShellLib.h
@@ -245,7 +245,7 @@ EFIAPI
ShellWriteFile(
IN EFI_FILE_HANDLE FileHandle,
IN OUT UINTN *BufferSize,
- IN CONST VOID *Buffer
+ IN VOID *Buffer
);
/**
diff --git a/ShellPkg/Include/Protocol/EfiShell.h b/ShellPkg/Include/Protocol/EfiShell.h
index d19f3b005f..67306bbb76 100644
--- a/ShellPkg/Include/Protocol/EfiShell.h
+++ b/ShellPkg/Include/Protocol/EfiShell.h
@@ -902,9 +902,9 @@ EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *EFI_SHELL_WRITE_FILE)(
- IN EFI_FILE_HANDLE FileHandle,
- IN OUT UINTN *BufferSize,
- OUT VOID *Buffer
+ IN EFI_FILE_HANDLE FileHandle,
+ IN OUT UINTN *BufferSize,
+ IN VOID *Buffer
);
typedef struct _EFI_SHELL_PROTOCOL {
diff --git a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
index cafecb0cf3..7dbe715afb 100644
--- a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
+++ b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h
@@ -16,9 +16,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _SHELLENV2_H_
#define _SHELLENV2_H_
-#include <Protocol\SimpleTextIn.h>
-#include <Protocol\SimpleTextOut.h>
-#include <Protocol\EfiShellInterface.h>
+#include <Protocol/SimpleTextIn.h>
+#include <Protocol/SimpleTextOut.h>
+#include <Protocol/EfiShellInterface.h>
#define DEFAULT_INIT_ROW 1
#define DEFAULT_AUTO_LF FALSE
diff --git a/ShellPkg/Include/Protocol/EfiShellInterface.h b/ShellPkg/Include/Protocol/EfiShellInterface.h
index bc15b4bca7..3b72543007 100644
--- a/ShellPkg/Include/Protocol/EfiShellInterface.h
+++ b/ShellPkg/Include/Protocol/EfiShellInterface.h
@@ -26,7 +26,7 @@
#ifndef _SHELLINTERFACE_H_
#define _SHELLINTERFACE_H_
-#include <Protocol\LoadedImage.h>
+#include <Protocol/LoadedImage.h>
#define SHELL_INTERFACE_PROTOCOL_GUID \
{ \
@@ -38,11 +38,11 @@
///
typedef enum {
ARG_NO_ATTRIB = 0x0,
- ARG_IS_QUOTED = 0x1,
- ARG_PARTIALLY_QUOTED = 0x2,
- ARG_FIRST_HALF_QUOTED = 0x4,
- ARG_FIRST_CHAR_IS_ESC = 0x8
-};
+ ARG_IS_QUOTED = BIT0,
+ ARG_PARTIALLY_QUOTED = BIT1,
+ ARG_FIRST_HALF_QUOTED = BIT2,
+ ARG_FIRST_CHAR_IS_ESC = BIT3
+} EFI_SHELL_ARG_INFO_TYPES;
///
/// attributes for an argument.