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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user