Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/dfs/dfs_v1/filesystems/tmpfs/dfs_tmpfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions components/lwp/arch/aarch64/cortex-a/lwp_gcc.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 <rtconfig.h>
#include <asm-generic.h>
#include <asm-fpu.h>
#include <armv8.h>
#include <lwp_arch.h>

/*********************
* SPSR BIT *
Expand Down
9 changes: 8 additions & 1 deletion libcpu/aarch64/common/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ Import('rtconfig')

cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
CPPPATH = [cwd]
CPPPATH = [cwd, cwd + '/include']

if GetDepend('RT_USING_SMP'):
core_model = 'mp'
else:
core_model = 'up'

src += Glob(core_model + '/*.S')

if GetDepend('RT_USING_OFW') == False:
SrcRemove(src, ['setup.c', 'cpu_psci.c', 'psci.c'])
Expand Down
79 changes: 0 additions & 79 deletions libcpu/aarch64/common/asm-fpu.h

This file was deleted.

2 changes: 1 addition & 1 deletion libcpu/aarch64/common/cache_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
* 2019-03-29 quanzhao the first version
* 2019-03-29 quanzhao the first version
*/
#include <rthw.h>
#include <rtdef.h>
Expand Down
Loading