Last change
on this file was 105670, checked in by vboxsync, 8 months ago |
Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.2 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | Null instance of CPU Library for IA32/X64 specific services.
|
---|
3 |
|
---|
4 | Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #include <Library/CpuLib.h>
|
---|
10 |
|
---|
11 | /**
|
---|
12 | Initializes floating point units for requirement of UEFI specification.
|
---|
13 | This function initializes floating-point control word to 0x027F (all exceptions
|
---|
14 | masked,double-precision, round-to-nearest) and multimedia-extensions control word
|
---|
15 | (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
|
---|
16 | for masked underflow).
|
---|
17 | **/
|
---|
18 | VOID
|
---|
19 | EFIAPI
|
---|
20 | InitializeFloatingPointUnits (
|
---|
21 | VOID
|
---|
22 | )
|
---|
23 | {
|
---|
24 | }
|
---|
25 |
|
---|
26 | /**
|
---|
27 | Determine if the standard CPU signature is "AuthenticAMD".
|
---|
28 | @retval TRUE The CPU signature matches.
|
---|
29 | @retval FALSE The CPU signature does not match.
|
---|
30 | **/
|
---|
31 | BOOLEAN
|
---|
32 | EFIAPI
|
---|
33 | StandardSignatureIsAuthenticAMD (
|
---|
34 | VOID
|
---|
35 | )
|
---|
36 | {
|
---|
37 | return FALSE;
|
---|
38 | }
|
---|
39 |
|
---|
40 | /**
|
---|
41 | Return the 32bit CPU family and model value.
|
---|
42 | @return CPUID[01h].EAX with Processor Type and Stepping ID cleared.
|
---|
43 | **/
|
---|
44 | UINT32
|
---|
45 | EFIAPI
|
---|
46 | GetCpuFamilyModel (
|
---|
47 | VOID
|
---|
48 | )
|
---|
49 | {
|
---|
50 | return 0;
|
---|
51 | }
|
---|
52 |
|
---|
53 | /**
|
---|
54 | Return the CPU stepping ID.
|
---|
55 | @return CPU stepping ID value in CPUID[01h].EAX.
|
---|
56 | **/
|
---|
57 | UINT8
|
---|
58 | EFIAPI
|
---|
59 | GetCpuSteppingId (
|
---|
60 | VOID
|
---|
61 | )
|
---|
62 | {
|
---|
63 | return 0;
|
---|
64 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.