This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new b7a6b6531a3 arch/arm64/fvp-v8r: Include nuttx/userspace.h for 
USERSPACE.
b7a6b6531a3 is described below

commit b7a6b6531a38053cedbb2dbcf035bd24f1f89fba
Author: Marco Casaroli <[email protected]>
AuthorDate: Wed Oct 14 07:23:24 2026 +0200

    arch/arm64/fvp-v8r: Include nuttx/userspace.h for USERSPACE.
    
    fvp_boot.c uses USERSPACE in the protected build, but it got
    nuttx/userspace.h only through stdio.h.  stdio.h does not include
    nuttx/lib/lib.h any more, so fvp-armv8r:pnsh and fvp-armv8r:pnsh_smp
    do not compile.  Include the header directly.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 arch/arm64/src/fvp-v8r/fvp_boot.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/src/fvp-v8r/fvp_boot.c 
b/arch/arm64/src/fvp-v8r/fvp_boot.c
index 1f08a9e1946..209b6b50002 100644
--- a/arch/arm64/src/fvp-v8r/fvp_boot.c
+++ b/arch/arm64/src/fvp-v8r/fvp_boot.c
@@ -29,6 +29,7 @@
 #include <stdint.h>
 #include <assert.h>
 #include <nuttx/debug.h>
+#include <nuttx/userspace.h>
 
 #include <arch/barriers.h>
 #include <arch/chip/chip.h>

Reply via email to