USB Keyboard Driver that manages USB keyboard and produces Simple Text Input\r
Protocol and Simple Text Input Ex Protocol.\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation\r
+Copyright (c) 2004 - 2010, 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
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardEnable),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_PC_ENABLE),\r
UsbKeyboardDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardPresenceDetect),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_PC_PRESENCE_DETECT),\r
UsbKeyboardDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardDisable),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_PC_DISABLE),\r
UsbKeyboardDevice->DevicePath\r
);\r
\r
\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardReset),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_PC_RESET),\r
UsbKeyboardDevice->DevicePath\r
);\r
\r
if (!ExtendedVerification) {\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardClearBuffer),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_KEYBOARD_PC_CLEAR_BUFFER),\r
UsbKeyboardDevice->DevicePath\r
);\r
//\r
/** @file\r
Helper functions for USB Keyboard Driver.\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation\r
+Copyright (c) 2004 - 2010, 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
\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardSelfTest),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_KEYBOARD_PC_SELF_TEST),\r
UsbKeyboardDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardInterfaceError),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_EC_INTERFACE_ERROR),\r
UsbKeyboardDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- FixedPcdGet32 (PcdStatusCodeValueKeyboardInputError),\r
+ (EFI_PERIPHERAL_KEYBOARD | EFI_P_EC_INPUT_ERROR),\r
UsbKeyboardDevice->DevicePath\r
);\r
\r
# 2. Universal Serial Bus HID Usage Tables, ver 1.12\r
# 3. UEFI Specification, v2.1\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation. \r
+# Copyright (c) 2006 - 2010, Intel Corporation. \r
#\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
gEfiHiiDatabaseProtocolGuid ## SOMETIMES_CONSUMES (Default value is used if it's absent.)\r
\r
[FeaturePcd.common]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver ## SOMETIME_CONSUMES (Checked when no layout is provided by HII.)\r
- \r
-[FixedPcd]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardEnable\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardPresenceDetect\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardDisable\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardReset\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardClearBuffer\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardSelfTest\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardInterfaceError\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardInputError\r
- \r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDisableDefaultKeyboardLayoutInUsbKbDriver ## SOMETIME_CONSUMES (Checked when no layout is provided by HII.) \r
\r
# [Event]\r
# ##\r
/** @file\r
USB Mouse Driver that manages USB mouse and produces Absolute Pointer Protocol.\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation\r
+Copyright (c) 2004 - 2010, 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
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseInterfaceError),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_EC_INTERFACE_ERROR),\r
UsbMouseAbsolutePointerDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseEnable),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_PC_ENABLE),\r
UsbMouseAbsolutePointerDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseDisable),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_PC_DISABLE),\r
UsbMouseAbsolutePointerDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseInputError),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_EC_INPUT_ERROR),\r
UsbMouseAbsolutePointerDevice->DevicePath\r
);\r
\r
\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseReset),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_PC_RESET),\r
UsbMouseAbsolutePointerDevice->DevicePath\r
);\r
\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
-#include <Library/PcdLib.h>\r
#include <Library/UefiUsbLib.h>\r
#include <Library/DebugLib.h>\r
\r
# 1. Universal Serial Bus HID Firmware Specification, ver 1.11\r
# 2. UEFI Specification, v2.1\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation. \r
+# Copyright (c) 2006 - 2010, Intel Corporation. \r
#\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
UefiDriverEntryPoint\r
BaseMemoryLib\r
ReportStatusCodeLib\r
- PcdLib\r
UefiUsbLib\r
\r
[Protocols]\r
gEfiDevicePathProtocolGuid ## TO_START\r
gEfiAbsolutePointerProtocolGuid ## BY_START\r
\r
-[FixedPcd]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInterfaceError\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseEnable\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseDisable\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInputError\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseReset\r
-\r
# [Event]\r
# ##\r
# # Periodic timer event for delayed recovery, which deals with device error.\r
/** @file\r
USB Mouse Driver that manages USB mouse and produces Simple Pointer Protocol.\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation\r
+Copyright (c) 2004 - 2010, 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
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseInterfaceError),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_EC_INTERFACE_ERROR),\r
UsbMouseDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseEnable),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_PC_ENABLE),\r
UsbMouseDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseDisable),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_PC_DISABLE),\r
UsbMouseDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseInputError),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_EC_INPUT_ERROR),\r
UsbMouseDevice->DevicePath\r
);\r
\r
\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueMouseReset),\r
+ (EFI_PERIPHERAL_MOUSE | EFI_P_PC_RESET),\r
UsbMouseDevice->DevicePath\r
);\r
\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
-#include <Library/PcdLib.h>\r
#include <Library/UefiUsbLib.h>\r
#include <Library/DebugLib.h>\r
\r
# 1. Universal Serial Bus HID Firmware Specification, ver 1.11\r
# 2. UEFI Specification, v2.1\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation. \r
+# Copyright (c) 2006 - 2010, Intel Corporation. \r
#\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
UefiDriverEntryPoint\r
BaseMemoryLib\r
ReportStatusCodeLib\r
- PcdLib\r
UefiUsbLib\r
\r
[Protocols]\r
gEfiDevicePathProtocolGuid ## TO_START\r
gEfiSimplePointerProtocolGuid ## BY_START\r
\r
-[FixedPcd]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInterfaceError\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseEnable\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseDisable\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInputError\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseReset\r
-\r
# [Event]\r
# ##\r
# # Periodic timer event for delayed recovery, which deals with device error.\r
Depex - Dependency Expresion.\r
SOR - Schedule On Request - Don't schedule if this bit is set.\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
\r
REPORT_STATUS_CODE_WITH_EXTENDED_DATA (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32(PcdStatusCodeValueDxeDriverBegin),\r
+ (EFI_SOFTWARE_DXE_CORE | EFI_SW_PC_INIT_BEGIN),\r
&DriverEntry->ImageHandle,\r
sizeof (DriverEntry->ImageHandle)\r
);\r
\r
REPORT_STATUS_CODE_WITH_EXTENDED_DATA (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32(PcdStatusCodeValueDxeDriverEnd),\r
+ (EFI_SOFTWARE_DXE_CORE | EFI_SW_PC_INIT_END),\r
&DriverEntry->ImageHandle,\r
sizeof (DriverEntry->ImageHandle)\r
);\r
# This is core module in DXE phase. It provides an implementation of DXE Core that is\r
# compliant with DXE CIS. \r
# \r
-# Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+# Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
gEfiEbcProtocolGuid ## SOMETIMES_CONSUMES\r
gEfiLoadedImageDevicePathProtocolGuid ## PRODUCES\r
\r
-[FixedPcd.common]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeCoreEntry\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeCoreHandoffToBds\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueBootServiceExit\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeDriverBegin\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeDriverEnd\r
-\r
[FeaturePcd.common]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES\r
/** @file\r
DXE Core Main Entry Point\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
//\r
REPORT_STATUS_CODE (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32(PcdStatusCodeValueDxeCoreEntry)\r
+ (EFI_SOFTWARE_DXE_CORE | EFI_SW_DXE_CORE_PC_ENTRY_POINT)\r
);\r
\r
//\r
//\r
REPORT_STATUS_CODE (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueDxeCoreHandoffToBds)\r
+ (EFI_SOFTWARE_DXE_CORE | EFI_SW_DXE_CORE_PC_HANDOFF_TO_NEXT)\r
);\r
\r
//\r
//\r
REPORT_STATUS_CODE (\r
EFI_PROGRESS_CODE,\r
- FixedPcdGet32 (PcdStatusCodeValueBootServiceExit)\r
+ (EFI_SOFTWARE_EFI_BOOT_SERVICE | EFI_SW_BS_PC_EXIT_BOOT_SERVICES)\r
);\r
\r
//\r
# PPI to discover and dispatch the DXE Foundation and components that are\r
# needed to run the DXE Foundation.\r
#\r
-# Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+# Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
[FeaturePcd.common]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress\r
\r
-[FixedPcd.common]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiHandoffToDxe\r
-\r
[Depex]\r
gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiLoadFilePpiGuid\r
\r
Last PEIM.\r
Responsibility of this module is to load the DXE Core from a Firmware Volume.\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
//\r
// Report Status Code EFI_SW_PEI_PC_HANDOFF_TO_NEXT\r
//\r
- REPORT_STATUS_CODE (EFI_PROGRESS_CODE, FixedPcdGet32 (PcdStatusCodeValuePeiHandoffToDxe));\r
+ REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_PEI_CORE | EFI_SW_PEI_CORE_PC_HANDOFF_TO_NEXT));\r
\r
DEBUG ((DEBUG_INFO | DEBUG_LOAD, "Loading DXE CORE at 0x%11p EntryPoint=0x%11p\n", (VOID *)(UINTN)DxeCoreAddress, FUNCTION_ENTRY_POINT (DxeCoreEntryPoint)));\r
\r
\r
REPORT_STATUS_CODE_WITH_EXTENDED_DATA (\r
EFI_PROGRESS_CODE,\r
- PcdGet32(PcdStatusCodeValuePeimDispatch),\r
+ (EFI_SOFTWARE_PEI_CORE | EFI_SW_PC_INIT_BEGIN),\r
(VOID *)(&ExtendedData),\r
sizeof (ExtendedData)\r
);\r
\r
REPORT_STATUS_CODE_WITH_EXTENDED_DATA (\r
EFI_PROGRESS_CODE,\r
- PcdGet32(PcdStatusCodeValuePeimDispatch),\r
+ (EFI_SOFTWARE_PEI_CORE | EFI_SW_PC_INIT_BEGIN),\r
(VOID *)(&ExtendedData),\r
sizeof (ExtendedData)\r
);\r
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported ## CONSUMES\r
\r
[Pcd] \r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeimDispatch ## CONSUMES\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiCoreEntry ## CONSUMES\r
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize ## CONSUMES\r
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst ## CONSUMES\r
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES\r
-
\ No newline at end of file
+ \r
//\r
REPORT_STATUS_CODE (\r
EFI_PROGRESS_CODE,\r
- PcdGet32 (PcdStatusCodeValuePeiCoreEntry)\r
+ (EFI_SOFTWARE_PEI_CORE | EFI_SW_PC_INIT)\r
);\r
\r
PERF_START (NULL, "SEC", NULL, 1);\r
Table now contains an item named CalculateCrc32.\r
\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
//\r
// ReporstStatusCodeLib will check and make sure this service can be called in runtime mode.\r
//\r
- REPORT_STATUS_CODE (EFI_PROGRESS_CODE, FixedPcdGet32 (PcdStatusCodeValueSetVirtualAddressMap));\r
+ REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_EFI_RUNTIME_SERVICE | EFI_SW_RS_PC_SET_VIRTUAL_ADDRESS_MAP));\r
\r
//\r
// Signal all the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE events.\r
\r
This code is used to produce the EFI runtime architectural protocol.\r
\r
-Copyright (c) 2006, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
#include <Library/UefiLib.h>\r
#include <Library/CacheMaintenanceLib.h>\r
#include <Library/PeCoffLib.h>\r
-#include <Library/PcdLib.h>\r
\r
\r
//\r
# CalculateCrc32 boot services table, SetVirtualAddressMap & ConvertPointer\r
# runtime services table.\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation\r
+# Copyright (c) 2006 - 2010, Intel Corporation\r
#\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
[Protocols]\r
gEfiRuntimeArchProtocolGuid ## PRODUCES\r
gEfiLoadedImageProtocolGuid ## CONSUMES\r
-\r
-[FixedPcd.common]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueSetVirtualAddressMap\r
- \r
+ \r
[depex]\r
TRUE
\ No newline at end of file
Produces Simple Text Input Protocol, Simple Text Input Extended Protocol and\r
Simple Text Output Protocol upon Serial IO Protocol.\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- PcdGet32 (PcdStatusCodeValueRemoteConsoleError),\r
+ (EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_CONTROLLER_ERROR),\r
DevicePath\r
);\r
\r
/** @file\r
Implementation for EFI_SIMPLE_TEXT_INPUT_PROTOCOL protocol.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- PcdGet32 (PcdStatusCodeValueRemoteConsoleReset),\r
+ (EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET),\r
TerminalDevice->DevicePath\r
);\r
\r
if (EFI_ERROR (Status)) {\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- PcdGet32 (PcdStatusCodeValueRemoteConsoleError),\r
+ (EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_CONTROLLER_ERROR),\r
TerminalDevice->DevicePath\r
);\r
}\r
if (Status == EFI_DEVICE_ERROR) {\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- PcdGet32 (PcdStatusCodeValueRemoteConsoleInputError),\r
+ (EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_INPUT_ERROR),\r
TerminalDevice->DevicePath\r
);\r
}\r
/** @file\r
Implementation for EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL protocol.\r
\r
-Copyright (c) 2006 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\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
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_PROGRESS_CODE,\r
- PcdGet32 (PcdStatusCodeValueRemoteConsoleReset),\r
+ (EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET),\r
TerminalDevice->DevicePath\r
);\r
\r
//\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- PcdGet32 (PcdStatusCodeValueRemoteConsoleError),\r
+ (EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_CONTROLLER_ERROR),\r
TerminalDevice->DevicePath\r
);\r
\r
OutputError:\r
REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
- PcdGet32 (PcdStatusCodeValueRemoteConsoleOutputError),\r
+ (EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_OUTPUT_ERROR),\r
TerminalDevice->DevicePath\r
);\r
\r
#\r
# This driver installs Simple Text In/Out protocol for terminal devices (serial devices or hotplug devices).\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation\r
+# Copyright (c) 2006 - 2010, 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
gEfiSimpleTextOutProtocolGuid ## BY_START\r
\r
[Pcd]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleError\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleReset\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleInputError\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleOutputError\r
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType\r
\r
# [Event]\r
/** @file\r
Implementation of Watchdog Timer Architectural Protocol using UEFI APIs.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2010, 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
IN VOID *Context\r
)\r
{\r
- REPORT_STATUS_CODE (EFI_ERROR_CODE | EFI_ERROR_MINOR, FixedPcdGet32 (PcdStatusCodeValueEfiWatchDogTimerExpired));\r
+ REPORT_STATUS_CODE (EFI_ERROR_CODE | EFI_ERROR_MINOR, (EFI_COMPUTING_UNIT_HOST_PROCESSOR | EFI_CU_HP_EC_TIMER_EXPIRED));\r
\r
//\r
// If a notification function has been registered, then call it\r
#include <Library/ReportStatusCodeLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/UefiRuntimeServicesTableLib.h>\r
-#include <Library/PcdLib.h>\r
#include <Protocol/WatchdogTimer.h>\r
\r
\r
#/** @file\r
# Generic watchdog timer driver produceing Watchdog Timer Architectural Protocol using UEFI APIs.\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation\r
+# Copyright (c) 2006 - 2010, Intel Corporation\r
#\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
ReportStatusCodeLib\r
UefiDriverEntryPoint\r
DebugLib\r
- PcdLib\r
\r
[Protocols]\r
gEfiWatchdogTimerArchProtocolGuid ## PRODUCES\r
\r
-[FixedPcd.common]\r
- gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueEfiWatchDogTimerExpired\r
-\r
[depex]\r
gEfiTimerArchProtocolGuid\r
\r