]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/CpuLib.h
Update to use DOS format
[mirror_edk2.git] / MdePkg / Include / Library / CpuLib.h
index 02eed1c13c5f657a6ec961c4d193903439dd3a57..ceddd7d0a83e129d8c7f987feb5081982eb97bab 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Library that provides processor specific library services\r
 \r
-  Copyright (c) 2006, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2008, 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
   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:  CpuLib.h\r
-\r
 **/\r
 \r
 #ifndef __CPU_LIB_H__\r
 #define __CPU_LIB_H__\r
 \r
-#endif
\ No newline at end of file
+/**\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
+  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
+\r
+#endif\r