Move timer from os to base repository

Since the timer and timeout handling is part of the base library (the
dynamic linker), it belongs to the base repository.

Besides moving the timer and its related infrastructure (alarm, timeout
libs, tests) to the base repository, this patch also moves the timer
from the 'drivers' subdirectory directly to 'src' and disamibuates the
timer's build locations for the various kernels. Otherwise the different
timer implementations could interfere with each other when using one
build directory with multiple kernels.

Note that this patch changes the include paths for the former os/timer,
os/alarm.h, os/duration.h, and os/timed_semaphore.h to base/.

Issue #3101
This commit is contained in:
Norman Feske
2019-01-03 18:01:49 +01:00
parent 14cd115c82
commit bf62d6b896
222 changed files with 272 additions and 454 deletions

View File

@@ -2,10 +2,9 @@
# Build
#
set build_components {
core init
core init timer
app/rom_logger
app/rom_to_file
drivers/timer
lib/vfs/rump
server/dynamic_rom
server/fs_rom

View File

@@ -12,8 +12,7 @@ set dd [installed_command dd]
# Build
#
set build_components {
core init
drivers/timer
core init timer
server/ram_blk
server/rump_fs
test/libc_vfs

View File

@@ -12,8 +12,7 @@ set dd [installed_command dd]
# Build
#
set build_components {
core init
drivers/timer
core init timer
server/ram_blk
server/rump_fs
test/libc_vfs

View File

@@ -11,8 +11,7 @@ set mkisofs [installed_command mkisofs]
# Build
#
set build_components {
core init
drivers/timer
core init timer
server/fs_rom
server/rom_blk
server/rump_fs

View File

@@ -10,7 +10,7 @@
set mke2fs [installed_command mke2fs]
set dd [installed_command dd]
build "core init drivers/timer test/vfs_stress server/ram_blk lib/vfs/rump"
build "core init timer test/vfs_stress server/ram_blk lib/vfs/rump"
#
# Build EXT2-file-system image

View File

@@ -10,7 +10,7 @@
set mke2fs [installed_command mke2fs]
set dd [installed_command dd]
build "core init drivers/timer test/vfs_stress server/ram_blk server/rump_fs"
build "core init timer test/vfs_stress server/ram_blk server/rump_fs"
#
# Build EXT2-file-system image