]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Renamed to match filename naming recommendations.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Mar 2008 21:39:21 +0000 (21:39 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Mar 2008 21:39:21 +0000 (21:39 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4888 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/Processor.c [new file with mode: 0644]
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/processor.c [deleted file]

diff --git a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/Processor.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/Processor.c
new file mode 100644 (file)
index 0000000..e6d5c40
--- /dev/null
@@ -0,0 +1,118 @@
+/*++\r
+\r
+Copyright (c) 2004, 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
+http://opensource.org/licenses/bsd-license.php                                            \r
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Module Name:\r
+\r
+    Processor.c\r
+\r
+Abstract:\r
+\r
+--*/\r
+\r
+#include "Tiano.h"\r
+#include "EfiJump.h"\r
+#include "PeiHob.h"\r
+#include EFI_GUID_DEFINITION (PeiFlushInstructionCache)\r
+#include EFI_GUID_DEFINITION (PeiTransferControl)\r
+\r
+EFI_STATUS\r
+WinNtFlushInstructionCacheFlush (\r
+  IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL   *This,\r
+  IN EFI_PHYSICAL_ADDRESS                       Start,\r
+  IN UINT64                                     Length\r
+  );\r
+\r
+EFI_PEI_TRANSFER_CONTROL_PROTOCOL         mTransferControl = {\r
+  SetJump,\r
+  LongJump,\r
+  sizeof (EFI_JUMP_BUFFER)\r
+};\r
+\r
+EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL  mFlushInstructionCache = {\r
+  WinNtFlushInstructionCacheFlush\r
+};\r
+\r
+EFI_STATUS\r
+InstallEfiPeiTransferControl (\r
+  IN OUT EFI_PEI_TRANSFER_CONTROL_PROTOCOL **This\r
+  )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+  Installs the pointer to the transfer control mechanism\r
+\r
+Arguments:\r
+\r
+  This       - Pointer to transfer control mechanism.\r
+\r
+Returns:\r
+\r
+  EFI_SUCCESS     - Successfully installed.\r
+\r
+--*/\r
+{\r
+  *This = &mTransferControl;\r
+  return EFI_SUCCESS;\r
+}\r
+\r
+EFI_STATUS\r
+InstallEfiPeiFlushInstructionCache (\r
+  IN OUT EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL  **This\r
+  )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+  Installs the pointer to the flush instruction cache mechanism\r
+\r
+Arguments:\r
+\r
+  This       - Pointer to flush instruction cache mechanism.\r
+\r
+Returns:\r
+\r
+  EFI_SUCCESS     - Successfully installed\r
+\r
+--*/\r
+{\r
+  *This = &mFlushInstructionCache;\r
+  return EFI_SUCCESS;\r
+}\r
+\r
+EFI_STATUS\r
+WinNtFlushInstructionCacheFlush (\r
+  IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL   *This,\r
+  IN EFI_PHYSICAL_ADDRESS                       Start,\r
+  IN UINT64                                     Length\r
+  )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+  This routine would provide support for flushing the CPU instruction cache.\r
+\r
+Arguments:\r
+\r
+  This      - Pointer to CPU Architectural Protocol interface\r
+  Start     - Start adddress in memory to flush\r
+  Length    - Length of memory to flush\r
+\r
+Returns:\r
+\r
+  Status\r
+    EFI_SUCCESS\r
+\r
+--*/\r
+{\r
+  RtPioICacheFlush ((UINT8 *) Start, (UINTN) Length);\r
+  return EFI_SUCCESS;\r
+}\r
diff --git a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/processor.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/processor.c
deleted file mode 100644 (file)
index e6d5c40..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004, 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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-Module Name:\r
-\r
-    Processor.c\r
-\r
-Abstract:\r
-\r
---*/\r
-\r
-#include "Tiano.h"\r
-#include "EfiJump.h"\r
-#include "PeiHob.h"\r
-#include EFI_GUID_DEFINITION (PeiFlushInstructionCache)\r
-#include EFI_GUID_DEFINITION (PeiTransferControl)\r
-\r
-EFI_STATUS\r
-WinNtFlushInstructionCacheFlush (\r
-  IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL   *This,\r
-  IN EFI_PHYSICAL_ADDRESS                       Start,\r
-  IN UINT64                                     Length\r
-  );\r
-\r
-EFI_PEI_TRANSFER_CONTROL_PROTOCOL         mTransferControl = {\r
-  SetJump,\r
-  LongJump,\r
-  sizeof (EFI_JUMP_BUFFER)\r
-};\r
-\r
-EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL  mFlushInstructionCache = {\r
-  WinNtFlushInstructionCacheFlush\r
-};\r
-\r
-EFI_STATUS\r
-InstallEfiPeiTransferControl (\r
-  IN OUT EFI_PEI_TRANSFER_CONTROL_PROTOCOL **This\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Installs the pointer to the transfer control mechanism\r
-\r
-Arguments:\r
-\r
-  This       - Pointer to transfer control mechanism.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS     - Successfully installed.\r
-\r
---*/\r
-{\r
-  *This = &mTransferControl;\r
-  return EFI_SUCCESS;\r
-}\r
-\r
-EFI_STATUS\r
-InstallEfiPeiFlushInstructionCache (\r
-  IN OUT EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL  **This\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  Installs the pointer to the flush instruction cache mechanism\r
-\r
-Arguments:\r
-\r
-  This       - Pointer to flush instruction cache mechanism.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS     - Successfully installed\r
-\r
---*/\r
-{\r
-  *This = &mFlushInstructionCache;\r
-  return EFI_SUCCESS;\r
-}\r
-\r
-EFI_STATUS\r
-WinNtFlushInstructionCacheFlush (\r
-  IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL   *This,\r
-  IN EFI_PHYSICAL_ADDRESS                       Start,\r
-  IN UINT64                                     Length\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  This routine would provide support for flushing the CPU instruction cache.\r
-\r
-Arguments:\r
-\r
-  This      - Pointer to CPU Architectural Protocol interface\r
-  Start     - Start adddress in memory to flush\r
-  Length    - Length of memory to flush\r
-\r
-Returns:\r
-\r
-  Status\r
-    EFI_SUCCESS\r
-\r
---*/\r
-{\r
-  RtPioICacheFlush ((UINT8 *) Start, (UINTN) Length);\r
-  return EFI_SUCCESS;\r
-}\r