Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
3.5.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
x86_acpi_osal.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#include <
zephyr/arch/x86/efi.h
>
7
#include <
zephyr/arch/x86/legacy_bios.h
>
8
9
#ifndef ZEPHYR_ARCH_X86_INCLUDE_X86_ACPI_H_
10
#define ZEPHYR_ARCH_X86_INCLUDE_X86_ACPI_H_
11
12
#if defined(CONFIG_X86_EFI)
13
static
inline
void
*
acpi_rsdp_get
(
void
)
14
{
15
void
*rsdp =
efi_get_acpi_rsdp
();
16
17
if
(!rsdp) {
18
rsdp =
bios_acpi_rsdp_get
();
19
}
20
21
return
rsdp;
22
}
23
#else
24
static
inline
void
*
acpi_rsdp_get
(
void
)
25
{
26
return
bios_acpi_rsdp_get
();
27
}
28
#endif
/* CONFIG_X86_EFI */
29
#endif
/* ZEPHYR_ARCH_X86_INCLUDE_X86_ACPI_H_ */
efi.h
efi_get_acpi_rsdp
#define efi_get_acpi_rsdp(...)
Definition:
efi.h:38
legacy_bios.h
bios_acpi_rsdp_get
void * bios_acpi_rsdp_get(void)
acpi_rsdp_get
static void * acpi_rsdp_get(void)
Definition:
x86_acpi_osal.h:24
zephyr
arch
x86
x86_acpi_osal.h
Generated on Fri Oct 20 2023 10:27:12 for Zephyr API Documentation by
1.9.6