mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 10:17:28 +00:00
hv: pci: rename CFG read/write function for PCI-compatible Configuration Mechanism
Move CFG read/write function for PCI-compatible Configuration Mechanism from debug/uartuart16550.c to hw/pci.c and rename CFG read/write function for PCI-compatible Configuration Mechanism to pci_pio_read/write_cfg to align with CFG read/write function pci_mmcfg_read/write_cfg for PCI Express Enhanced Configuration Access Mechanism. Tracked-On: #4371 Signed-off-by: Li Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
#ifndef UART16550_H
|
||||
#define UART16550_H
|
||||
|
||||
#include <pci.h>
|
||||
|
||||
/* Register / bit definitions for 16c550 uart */
|
||||
/*receive buffer register | base+00h, dlab=0b r*/
|
||||
#define UART16550_RBR 0x00U
|
||||
@@ -129,8 +127,6 @@
|
||||
/* UART oscillator clock */
|
||||
#define UART_CLOCK_RATE 1843200U /* 1.8432 MHz */
|
||||
|
||||
extern struct pci_cfg_ops pci_direct_cfg_ops;
|
||||
|
||||
void uart16550_init(bool early_boot);
|
||||
char uart16550_getc(void);
|
||||
size_t uart16550_puts(const char *buf, uint32_t len);
|
||||
|
Reference in New Issue
Block a user