what are mapbase and membase members of UART 8250 port structure?
问题 I am trying to understand the 8250 serial port on pci express bus of our board by going through the driver code and I am having hard time understanding the below two members of struct uart_8250_port struct uart_8250_port x; memset(&x, 0, sizeof(x)); .... .... x.port.regshift = 0; x.port.iotype = UPIO_MEM; x.port.flags = UPF_SHARE_IRQ | UPF_LOW_LATENCY; x.port.membase = raw_address; x.port.mapbase = ioremap(raw_address); What are the members membase and mapbase ? Also, why does membase take