]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ebc / CpuBreakpoint.c
index cdba67c4cd05caa8ff717fc9f884edf63a2fd630..ec7df5ea47f7560299235596043fa38995a3adb0 100644 (file)
@@ -1,25 +1,17 @@
 /** @file\r
   Base Library CPU Functions for EBC\r
 \r
-  Copyright (c) 2006, 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
-  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
+  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
-//\r
-// Include common header file for this module.\r
-//\r
-#include <BaseLibInternals.h>\r
+\r
+#include "BaseLibInternals.h"\r
 \r
 extern\r
 UINT64\r
 _break (\r
-  CHAR8 BreakCode\r
+  CHAR8  BreakCode\r
   );\r
 \r
 /**\r
@@ -56,8 +48,6 @@ MemoryFence (
 /**\r
   Disables CPU interrupts.\r
 \r
-  Disables CPU interrupts.\r
-\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -71,8 +61,6 @@ DisableInterrupts (
 /**\r
   Enables CPU interrupts.\r
 \r
-  Enables CPU interrupts.\r
-\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -86,8 +74,8 @@ EnableInterrupts (
 /**\r
   Retrieves the current CPU interrupt state.\r
 \r
-  Retrieves the current CPU interrupt state. Returns TRUE is interrupts are\r
-  currently enabled. Otherwise returns FALSE.\r
+  Returns TRUE means interrupts are currently enabled. Otherwise,\r
+  returns FALSE.\r
 \r
   @retval TRUE  CPU interrupts are enabled.\r
   @retval FALSE CPU interrupts are disabled.\r
@@ -107,9 +95,6 @@ GetInterruptState (
   Enables CPU interrupts for the smallest window required to capture any\r
   pending interrupts.\r
 \r
-  Enables CPU interrupts for the smallest window required to capture any\r
-  pending interrupts.\r
-\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -135,34 +120,3 @@ CpuPause (
   )\r
 {\r
 }\r
-\r
-/**\r
-  Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
-\r
-  Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-CpuFlushTlb (\r
-  VOID\r
-  )\r
-{\r
-  ASSERT (FALSE);\r
-}\r
-\r
-/**\r
-  Places the CPU in a sleep state until an interrupt is received.\r
-\r
-  Places the CPU in a sleep state until an interrupt is received. If interrupts\r
-  are disabled prior to calling this function, then the CPU will be placed in a\r
-  sleep state indefinitely.\r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-CpuSleep (\r
-  VOID\r
-  )\r
-{\r
-}\r