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

+23
View File
@@ -0,0 +1,23 @@
#ifndef _BLOCK_ELEVATOR_H
#define _BLOCK_ELEVATOR_H
#include <block/block.h>
typedef enum {
ELEVATOR_NOOP = 0,
ELEVATOR_DEADLINE,
ELEVATOR_CFQ
} elevator_type_t;
typedef struct elevator {
elevator_type_t type;
const char* name;
void (*queue_request)(block_device_t* dev, block_request_t* req);
block_request_t* (*dispatch_request)(block_device_t* dev);
} elevator_t;
void elevator_init(void);
elevator_t* elevator_get_active(void);
void elevator_set_scheduler(elevator_type_t type);
#endif // _BLOCK_ELEVATOR_H