Fix-Point opened a new pull request, #14351: URL: https://github.com/apache/nuttx/pull/14351
## Summary The `nuttx/arch.h` included in userspace.h will cause some unnecessary headers to be introduced in the user program (such as `net.h`). We are trying to remove the inclusion of `nuttx/arch.h`. Also, the inclusion of `nuttx/arch.h` in user-space headers was causing issues because architecture-related definitions and APIs should not be exposed to users. By removing this inclusion, the patch ensures that user-space applications do not have access to or rely on architecture-specific details, which is crucial for maintaining a clean separation between user-space and kernel-space. ## Impact The impact of this change is primarily on the user-space applications that were previously using `nuttx/arch.h`. These applications will now need to be updated to remove the dependency on this header. The change should not affect the build process, hardware, documentation, or security. ## Testing Tested on QEMU/arm64 and QEMU/x86_64. -- 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]
