repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git]
/
src
/
device
/
oprom
/
include
/
io.h
blob
3bf23166ac61cfb42d5d0d0578dc27ab6e50f085
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef __OPROM_IO_H__
4
#define __OPROM_IO_H__
5
6
#if ENV_X86
7
#include <arch/io.h>
8
#else
9
void
outb
(
u8 val
,
u16 port
);
10
void
outw
(
u16 val
,
u16 port
);
11
void
outl
(
u32 val
,
u16 port
);
12
13
u8
inb
(
u16 port
);
14
u16
inw
(
u16 port
);
15
u32
inl
(
u16 port
);
16
#endif
17
#endif
/* __OPROM_IO_H__ */