coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_serial.c File Reference
#include <stdint.h>
#include <arch/io.h>
#include "sio1007.h"
Include dependency graph for early_serial.c:

Go to the source code of this file.

Functions

void sio1007_setreg (u16 lpc_port, u8 reg, u8 value, u8 mask)
 
int sio1007_enable_uart_at (u16 port)
 

Function Documentation

◆ sio1007_enable_uart_at()

int sio1007_enable_uart_at ( u16  port)

Definition at line 18 of file early_serial.c.

References inb(), outb(), and sio1007_setreg().

Referenced by bootblock_mainboard_early_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sio1007_setreg()

void sio1007_setreg ( u16  lpc_port,
u8  reg,
u8  value,
u8  mask 
)

Definition at line 7 of file early_serial.c.

References inb(), mask, outb(), and value.

Referenced by bootblock_mainboard_early_init(), and sio1007_enable_uart_at().

Here is the call graph for this function:
Here is the caller graph for this function: