Bridge I/O Protocol.\r
\r
\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
**/\r
\r
-#include <FrameworkDxe.h>\r
+#include <PiDxe.h>\r
#include <Protocol/Cpu.h>\r
-#include <Protocol/DataHub.h>\r
-#include <Guid/DataHubRecords.h>\r
#include <Protocol/CpuIo2.h>\r
-#include <Protocol/FrameworkHii.h>\r
\r
#include <Library/BaseLib.h>\r
#include <Library/DebugLib.h>\r
}\r
\r
Width = Width & 0x03;\r
- if (Address - 1 + (1 << Width) * Count > Limit) {\r
+ if ((Address - 1 + LShiftU64 (Count, Width)) > Limit) {\r
return EFI_UNSUPPORTED;\r
}\r
\r