userspace: Exclude nuttx/arch.h

This patch fixed userspace headers conflict. Architecture-related definition and API should not be exposed to users.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
ouyangxiangzhen
2024-10-16 10:49:33 +08:00
committed by Xiang Xiao
parent b271507c9f
commit 17c51c0667
98 changed files with 111 additions and 32 deletions
+1
View File
@@ -26,6 +26,7 @@
#include <nuttx/config.h>
#include <errno.h>
#include <stdlib.h>
#include <nuttx/mm/mm.h>
+1
View File
@@ -29,6 +29,7 @@
#include <nuttx/config.h>
#include <nuttx/addrenv.h>
#include <nuttx/mm/mm.h>
/****************************************************************************
+1
View File
@@ -28,6 +28,7 @@
#include <assert.h>
#include <nuttx/arch.h>
#include <nuttx/mm/mm.h>
#include "umm_heap/umm_heap.h"
+1
View File
@@ -32,6 +32,7 @@
#include <nuttx/mm/mm.h>
#include <nuttx/addrenv.h>
#include <nuttx/arch.h>
#include <nuttx/pgalloc.h>
#include "umm_heap/umm_heap.h"