feat: Massive OS expansion with IPC, Sound & TTS, Block layer, FAT32/ext2/sysfs, Signals, Syscalls, Modules, Drivers & 50+ LazyBox applets

This commit is contained in:
subhobhai943 committed 2026-08-16 23:06:53 +05:30
1 parent 5662be29f5
commit d680335f05
64 files changed
+2370 -166

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#ifndef _KERNEL_TIMER_H
#define _KERNEL_TIMER_H
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
typedef void (*timer_callback_t)(uint64_t data);
typedef struct timer_list {
uint64_t expires;
timer_callback_t function;
uint64_t data;
bool active;
struct timer_list* next;
} timer_list_t;
void timer_wheel_init(void);
void timer_add(timer_list_t* timer);
void timer_mod(timer_list_t* timer, uint64_t expires);
void timer_del(timer_list_t* timer);
void timer_tick(void);
#endif // _KERNEL_TIMER_H