summaryrefslogtreecommitdiff
path: root/ReferenceCode/ME/Guid/ConsoleLock
diff options
context:
space:
mode:
Diffstat (limited to 'ReferenceCode/ME/Guid/ConsoleLock')
-rw-r--r--ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c35
-rw-r--r--ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h39
2 files changed, 74 insertions, 0 deletions
diff --git a/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c
new file mode 100644
index 0000000..ad71b6e
--- /dev/null
+++ b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.c
@@ -0,0 +1,35 @@
+/** @file
+ Console Lock Guid data declarations.
+
+@copyright
+ Copyright (c) 2010 - 2012 Intel Corporation. All rights reserved
+ This software and associated documentation (if any) is furnished
+ under a license and may only be used or copied in accordance
+ with the terms of the license. Except as permitted by such
+ license, no part of this software or documentation may be
+ reproduced, stored in a retrieval system, or transmitted in any
+ form or by any means without the express written consent of
+ Intel Corporation.
+
+ This file contains an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+
+//
+// External include files do NOT need to be explicitly specified in real EDKII
+// environment
+//
+#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000)
+#include "EdkIIGlueDxe.h"
+#include EFI_GUID_DEFINITION (ConsoleLock)
+#endif
+
+EFI_GUID gEfiConsoleLockGuid = EFI_CONSOLE_LOCK_GUID;
+
+EFI_GUID_STRING(&gEfiConsoleLockGuid, "EFI", "Efi Console Lock GUID")
+
+CHAR16 gEfiConsoleLockName[] = EFI_CONSOLE_LOCK_VARIABLE_NAME;
diff --git a/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h
new file mode 100644
index 0000000..9e7acf9
--- /dev/null
+++ b/ReferenceCode/ME/Guid/ConsoleLock/ConsoleLock.h
@@ -0,0 +1,39 @@
+/** @file
+ Console Lock Guid definitions
+
+@copyright
+ Copyright (c) 2010 - 2012 Intel Corporation. All rights reserved
+ This software and associated documentation (if any) is furnished
+ under a license and may only be used or copied in accordance
+ with the terms of the license. Except as permitted by such
+ license, no part of this software or documentation may be
+ reproduced, stored in a retrieval system, or transmitted in any
+ form or by any means without the express written consent of
+ Intel Corporation.
+
+ This file contains an 'Intel Peripheral Driver' and uniquely
+ identified as "Intel Reference Module" and is
+ licensed for Intel CPUs and chipsets under the terms of your
+ license agreement with Intel or your vendor. This file may
+ be modified by the user, subject to additional terms of the
+ license agreement
+**/
+#ifndef _EFI_CONSOLE_LOCK_GUID_H_
+#define _EFI_CONSOLE_LOCK_GUID_H_
+
+#define EFI_CONSOLE_LOCK_GUID \
+ { \
+ 0x368cda0d, 0xcf31, 0x4b9b, 0x8c, 0xf6, 0xe7, 0xd1, 0xbf, 0xff, 0x15, 0x7e \
+ }
+
+#define EFI_CONSOLE_LOCK_VARIABLE_NAME (L"ConsoleLock")
+#define EFI_CONSOLE_LOCK_FORMAT_VARIABLE_NAME ("ConsoleLock")
+
+extern CHAR16 gEfiConsoleLockName[];
+
+extern EFI_GUID gEfiConsoleLockGuid;
+
+#define LOCK_CONSOLE 1
+#define NO_LOCK_CONSOLE 0
+
+#endif