hujun260 opened a new pull request, #21863:
URL: https://github.com/apache/nuttx/pull/21863

   # armv8-r: fix CP15 header include path
   
   ## Summary
   
   Fix the ARMv8-R GICv3 driver build after the CP15 definitions were moved to 
the shared `arm_a_r` include directory.
   
   ## Changes
   
   - Update `arch/arm/src/armv8-r/arm_gicv3.c` to include:
   
     ```c
     #include <arch/arm_a_r/cp15.h>
     ```
   
   - Replace the obsolete `arch/armv8-r/cp15.h` include path.
   
   ## Problem
   
   The ARMv8-R FVP build failed with:
   
   ```text
   ./armv8-r/arm_gicv3.c:32:10: fatal error: arch/armv8-r/cp15.h: No such file 
or directory
   ```
   
   The CP15 header is now located at:
   
   ```text
   arch/arm/include/arm_a_r/cp15.h
   ```
   
   ## Testing
   
   Configuration and build:
   
   ```text
   $ tools/configure.sh fvp-armv8r-aarch32:nsh
   $ make -j$(nproc)
   ```
   
   Result: build completed successfully.
   
   Checkpatch:
   
   ```text
   $ git diff --check
   $ tools/checkpatch.sh -c -u -m -g apache/master..HEAD
   ✔️ All checks pass.
   ```
   
   ## Commit
   
   ```text
   bb5436ae2d1 armv8-r: fix CP15 header include path
   ```
   


-- 
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