riscv-software-src / riscv-pk

RISC-V Proxy Kernel
Other
581 stars 307 forks source link

Fix UART register map #208

Closed nickisobrien closed 4 years ago

nickisobrien commented 4 years ago

While it's unused upstream, according to the SiFive FU540 document, the UART divisor register is at offset 0x18.

This also maps the interrupt enable and interrupt pending register offsets.