Commit 390112d
[clock_time] Remove old subsystems and update to use only clock_time
- Deleted ktime, cputime, and hwtimer directories completely
- Removed old header files (ktime.h, cputime.h, cputimer.h, hwtimer.h)
- Updated ctime.c to only use RT_USING_CLOCK_TIME (removed RT_USING_KTIME conditionals)
- Updated main drivers Kconfig to remove old subsystem entries
- Added all legacy API declarations to clock_time.h when compatibility is enabled
- Added legacy type definitions (rt_clock_cputime_ops, rt_cputimer) to clock_time.h
- Removed ktime.h include from ktime_compat.c (types now in clock_time.h)
- All POSIX time APIs (clock_gettime, clock_settime, timer_create, etc.) continue to work
Co-authored-by: BernardXiong <[email protected]>1 parent ba3db8c commit 390112d
File tree
26 files changed
+88
-2441
lines changed- components
- drivers
- clock_time/src
- cputime
- hwtimer
- include/drivers
- ktime
- inc
- src
- aarch64
- risc-v/virt64
- libc/compilers/common
26 files changed
+88
-2441
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
44 | 42 | | |
45 | | - | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments