]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/ReadCpuid.s
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / BaseLib / Ipf / ReadCpuid.s
CommitLineData
2c7e5c2f
HT
1/// Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
2/// This program and the accompanying materials\r
c7f33ca4 3/// are licensed and made available under the terms and conditions of the BSD License\r
4/// which accompanies this distribution. The full text of the license may be found at\r
5/// http://opensource.org/licenses/bsd-license.php\r
6///\r
7/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
8/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
9///\r
10/// Module Name: ReadCpuid.s\r
11///\r
12///\r
13/// IPF specific AsmReadCpuid()function\r
14///\r
15\r
16//---------------------------------------------------------------------------------\r
17//++\r
18// AsmReadCpuid\r
19//\r
20// This routine is used to Reads the current value of Processor Identifier Register (CPUID).\r
21//\r
22// Arguments :\r
23//\r
24// On Entry : The 8-bit Processor Identifier Register index to read.\r
25//\r
26// Return Value: The current value of Processor Identifier Register specified by Index.\r
27//\r
28//--\r
29//----------------------------------------------------------------------------------\r
30.text\r
31.type AsmReadCpuid, @function\r
32.proc AsmReadCpuid\r
33.regstk 1, 0, 0, 0\r
34\r
35AsmReadCpuid::\r
36 mov r8 = cpuid[in0];;\r
37 br.ret.dpnt b0;;\r
38.endp AsmReadCpuid\r
39\r