Displaying 3 results from an estimated 3 matches for "__kernel_timer_t".
Did you mean:
__kernel_time_t
2004 Sep 02
1
__kernel_timer_t missing
Peter,
typedef __kernel_timer_t timer_t will fail with Arjans glibc headers,
they do not define __kernel_timer_t in asm/posix_types.h.
All archs supported by Linux have typedef int __kernel_timer_t. Can we
just get rid of the __kernel_timer_t?
--- klibc-0.171/klibc/include/sys/types.h.orig 2004-06-08 07:32:48.000000000 +0200...
2004 Feb 22
3
ARM/Thumb updates and some other minor tweaks
...--- klibc-0.114_orig/klibc/include/sys/types.h 2004-02-08 22:19:37.000000000 -0800
+++ klibc-0.114/klibc/include/sys/types.h 2004-02-22 04:39:00.000000000 -0800
@@ -27,7 +27,12 @@
typedef __kernel_daddr_t daddr_t;
typedef __kernel_key_t key_t;
typedef __kernel_suseconds_t suseconds_t;
-typedef __kernel_timer_t timer_t;
+/*
+ * __kernel_timer_t is not defined in arm kernel 2.4.21-rmk2 which causes
+ * arm klibc builds to fail. timer_t doesn't seem to be used within klibc
+ * so commenting out the typedef seems like a valid fix ?
+ */
+//typedef __kernel_timer_t timer_t;
typedef __kernel_uid32_t uid...
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...s(const char *, const struct timeval[2]);
diff --git a/usr/include/sys/types.h b/usr/include/sys/types.h
index b8cdb8cf..e17bc87f 100644
--- a/usr/include/sys/types.h
+++ b/usr/include/sys/types.h
@@ -33,6 +33,7 @@ typedef __kernel_key_t key_t;
typedef __kernel_suseconds_t suseconds_t;
/* typedef __kernel_timer_t timer_t; */
typedef int timer_t;
+typedef __kernel_clockid_t clockid_t;
typedef __kernel_uid32_t uid_t;
typedef __kernel_gid32_t gid_t;
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 02a18e64..8b132190 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -29,7 +29,8 @@ klib-y += vsn...