xiaoxiang781216 commented on issue #8591:
URL: https://github.com/apache/nuttx/issues/8591#issuecomment-1436433577

   
   > I have noticed that some code accesses memory-mapped I/O (MMIO) without 
going through Hardware Abstraction Layer (HAL) or drivers. This type of access 
may have several drawbacks, including poor portability and reusability.
   > 
   
   MMIO is normally access through macros defined in arch specific header file:
   
https://github.com/apache/nuttx/blob/master/arch/arm/src/common/arm_internal.h#L130-L141
   
   > 
   > Code snippets with MMIO access that does not go through HAL or drivers:
   > 
   > 
https://github.com/apache/nuttx/blob/f0825c240259a53753ee5ca38c7e2e4bf09a7d07/sched/init/nx_bringup.c#L267
   
   this is a normal memory region, not specific to MMIO.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to