]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/CpuFlushCache.asm
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / RuntimeDxe / EfiRuntimeLib / Ia32 / CpuFlushCache.asm
CommitLineData
4b79797e 1;/*++\r
2;\r
4ea9375a
HT
3;Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>\r
4;This program and the accompanying materials \r
4b79797e 5;are licensed and made available under the terms and conditions of the BSD License \r
6;which accompanies this distribution. The full text of the license may be found at \r
7;http://opensource.org/licenses/bsd-license.php \r
8 ;\r
9;THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10;WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11;\r
12;Module Name:\r
13;\r
14 ;CpuFlushCache.c\r
15;\r
16;Abstract:\r
17;\r
18 ;Cpu Flush Cache Function.\r
19;\r
20;--*/\r
21;---------------------------------------------------------------------------\r
22 .586p\r
23 .model flat,C\r
24 .code\r
25\r
26;---------------------------------------------------------------------------\r
27;\r
28;//\r
29;// Cache Flush Routine.\r
30;//\r
31;EFI_STATUS\r
32;EfiCpuFlushCache (\r
33 ;IN EFI_PHYSICAL_ADDRESS Start,\r
34; IN UINT64 Length\r
35 ;)\r
36;/*++\r
37;\r
38;Routine Description:\r
39;\r
40 ;Flush cache with specified range.\r
41;\r
42;Arguments:\r
43;\r
44 ;Start - Start address\r
45; Length - Length in bytes\r
46;\r
47;Returns:\r
48;\r
49 ;Status code\r
50; \r
51 ;EFI_SUCCESS - success\r
52;\r
53;--*/\r
54EfiCpuFlushCache PROC\r
55 wbinvd\r
56 xor eax, eax\r
57 ret\r
58EfiCpuFlushCache ENDP\r
59 \r
60 END\r
61 \r
62