![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <console/uart.h>
#include <device/pci_def.h>
#include <device/pci_ops.h>
#include <soc/uart.h>
Go to the source code of this file.
Macros | |
#define | MY_PCI_DEV(SEGBUS, DEV, FN) ((((SEGBUS)&0xFFF) << 20) | (((DEV)&0x1F) << 15) | (((FN)&0x07) << 12)) |
Functions | |
uintptr_t | uart_platform_base (unsigned int idx) |
#define MY_PCI_DEV | ( | SEGBUS, | |
DEV, | |||
FN | |||
) | ((((SEGBUS)&0xFFF) << 20) | (((DEV)&0x1F) << 15) | (((FN)&0x07) << 12)) |
Definition at line 9 of file uart_debug.c.
Definition at line 12 of file uart_debug.c.
References MY_PCI_DEV, PCI_BASE_ADDRESS_1, pci_io_read_config32(), and SIZE_OF_HSUART_RES.