/** @file\r
Reset System Library functions for PCAT platforms\r
\r
- Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
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
VOID\r
)\r
{\r
- IoWrite8 (0x64, 0xfe);\r
+ IoWrite8 ((UINTN) PcdGet64 (PcdResetControlRegister), PcdGet8 (PcdResetControlValueColdReset));\r
}\r
\r
/**\r
VOID\r
)\r
{\r
- IoWrite8 (0x64, 0xfe);\r
+ IoWrite8 ((UINTN) PcdGet64 (PcdResetControlRegister), PcdGet8 (PcdResetControlValueColdReset));\r
}\r
\r
/**\r
## @file\r
# Library instance for ResetSystem library class for PCAT systems\r
#\r
-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
# 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
[Packages]\r
MdePkg/MdePkg.dec\r
+ PcAtChipsetPkg/PcAtChipsetPkg.dec\r
\r
[LibraryClasses]\r
DebugLib\r
IoLib\r
\r
+[Pcd]\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlRegister ## CONSUMES\r
+ gPcAtChipsetPkgTokenSpaceGuid.PcdResetControlValueColdReset ## CONSUMES\r