Skip to content

Commit 7b02345

Browse files
committed
更新 vdso 框架
1 parent fa0a61c commit 7b02345

30 files changed

Lines changed: 884 additions & 1069 deletions

components/lwp/SConscript

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ if platform in platform_file.keys(): # support platforms
2626
asm_path = 'arch/' + arch + '/' + cpu + '/*_' + platform_file[platform]
2727
arch_common = 'arch/' + arch + '/' + 'common/*.c'
2828
common = 'arch/common/*.c'
29+
common_excluded = []
2930
if not GetDepend('RT_USING_VDSO'):
30-
vdso_files = ['vdso_data.c', 'vdso.c']
31-
src += [f for f in Glob(arch_common) if os.path.basename(str(f)) not in vdso_files]
32-
src += [f for f in Glob(common) if os.path.basename(str(f)) not in vdso_files]
31+
common_excluded.append('vdso_kernel.c')
32+
src += Glob(arch_common)
33+
src += [f for f in Glob(common) if os.path.basename(str(f)) not in common_excluded]
3334
else:
35+
CPPPATH += [cwd + '/vdso', cwd + '/vdso/kernel']
3436
src += Glob(arch_common)
3537
src += Glob(common)
3638
if not GetDepend('ARCH_MM_MMU'):

components/lwp/arch/aarch64/common/vdso_data.c

Lines changed: 0 additions & 34 deletions
This file was deleted.

components/lwp/arch/common/vdso.c

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)