RTEMS | dev/serial: Refactor the pl011 driver to be extensible (!47)

Kinsey Moore (@opticron) gitlab at rtems.org
Fri Jul 26 13:52:40 UTC 2024




Kinsey Moore commented on a discussion on bsps/aarch64/xilinx-versal/include/dev/serial/versal-uart.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/47#note_109962

 >   */
 >  
 >  typedef struct {
 > -  rtems_termios_device_context base;
 > -  volatile struct versal_uart *regs;
 > -  volatile size_t tx_queued;
 > +  pl011_base base;
 > +} versal_uart;

It's cleaner if you need to add more registers when implementations vary, but that's not happening here. That's why I'm asking if there are missing registers that were intended to be used.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/47#note_109962
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240726/b4bc19ea/attachment-0001.htm>


More information about the bugs mailing list