From 90917cc75af9406834c14fd25140405ba6f72d6d Mon Sep 17 00:00:00 2001 From: Shell Date: Fri, 28 Jun 2024 00:23:09 +0800 Subject: [format] cleanup libcpu/aarch64 (#8950) * [dfs] fixup compiler warning Signed-off-by: Shell * [format] libcpu/arm64: separate context switching codes Signed-off-by: Shell * [format] libcpu/arm64: separate vector Signed-off-by: Shell * [format] libcpu/arm64: separate context_gcc.S Signed-off-by: Shell * [format] libcpu/arm64: moving headers to include directory Signed-off-by: Shell * style: replace tab with space --------- Signed-off-by: Shell --- components/dfs/dfs_v1/filesystems/tmpfs/dfs_tmpfs.c | 2 +- components/lwp/arch/aarch64/cortex-a/lwp_gcc.S | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'components') diff --git a/components/dfs/dfs_v1/filesystems/tmpfs/dfs_tmpfs.c b/components/dfs/dfs_v1/filesystems/tmpfs/dfs_tmpfs.c index c87be8239b..e2cda467fe 100644 --- a/components/dfs/dfs_v1/filesystems/tmpfs/dfs_tmpfs.c +++ b/components/dfs/dfs_v1/filesystems/tmpfs/dfs_tmpfs.c @@ -494,7 +494,7 @@ int dfs_tmpfs_stat(struct dfs_filesystem *fs, if (d_file == NULL) return -ENOENT; - st->st_dev = (rt_device_t)dfs_filesystem_lookup(fs->path); + st->st_dev = (dev_t)dfs_filesystem_lookup(fs->path); st->st_mode = S_IFREG | S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IWGRP | S_IWOTH; if (d_file->type == TMPFS_TYPE_DIR) diff --git a/components/lwp/arch/aarch64/cortex-a/lwp_gcc.S b/components/lwp/arch/aarch64/cortex-a/lwp_gcc.S index f5a93698d9..a71ee339cb 100644 --- a/components/lwp/arch/aarch64/cortex-a/lwp_gcc.S +++ b/components/lwp/arch/aarch64/cortex-a/lwp_gcc.S @@ -14,11 +14,11 @@ #define __ASSEMBLY__ #endif -#include "rtconfig.h" -#include "asm-generic.h" -#include "asm-fpu.h" -#include "armv8.h" -#include "lwp_arch.h" +#include +#include +#include +#include +#include /********************* * SPSR BIT * -- cgit v1.3.1