]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.c
MdePkg/BaseCpuLibNull: Add Null version of CpuLib for host testing
[mirror_edk2.git] / MdePkg / Library / BaseCpuLibNull / BaseCpuLibNull.c
1 /** @file
2 Null instance of CPU Library.
3
4 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 /**
10 Places the CPU in a sleep state until an interrupt is received.
11
12 Places the CPU in a sleep state until an interrupt is received. If interrupts
13 are disabled prior to calling this function, then the CPU will be placed in a
14 sleep state indefinitely.
15
16 **/
17 VOID
18 EFIAPI
19 CpuSleep (
20 VOID
21 )
22 {
23 }
24
25 /**
26 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
27
28 Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
29
30 **/
31 VOID
32 EFIAPI
33 CpuFlushTlb (
34 VOID
35 )
36 {
37 }