Done with sed and God Lines. Only done for C-like code for now. Change-Id: Id5fe26564147ec532850430ea55b19ee94d5c5a5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40050 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
19 lines
370 B
C
19 lines
370 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* This file is part of the coreboot project. */
|
|
|
|
#ifndef __OPROM_IO_H__
|
|
#define __OPROM_IO_H__
|
|
|
|
#if CONFIG(ARCH_X86)
|
|
#include <arch/io.h>
|
|
#else
|
|
void outb(u8 val, u16 port);
|
|
void outw(u16 val, u16 port);
|
|
void outl(u32 val, u16 port);
|
|
|
|
u8 inb(u16 port);
|
|
u16 inw(u16 port);
|
|
u32 inl(u16 port);
|
|
#endif
|
|
#endif /* __OPROM_IO_H__ */
|