]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/CpuDeadLoop.c
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / BaseLib / CpuDeadLoop.c
CommitLineData
3eb9473e 1/*++\r
2\r
2c7e5c2f
HT
3Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 CpuDeadLoop.c\r
15 \r
16Abstract: \r
17\r
18 Base Library CPU Functions for all architectures.\r
19\r
20--*/\r
21\r
c7f33ca4 22#include "BaseLibInternals.h"\r
3eb9473e 23\r
24/**\r
25 Executes an infinite loop.\r
26\r
27 Forces the CPU to execute an infinite loop. A debugger may be used to skip\r
28 past the loop and the code that follows the loop must execute properly. This\r
29 implies that the infinite loop must not cause the code that follow it to be\r
30 optimized away.\r
31\r
32**/\r
33VOID\r
34EFIAPI\r
35CpuDeadLoop (\r
36 VOID\r
37 )\r
38{\r
39 volatile UINTN Index;\r
40\r
41 for (Index = 0; Index == 0;);\r
42}\r