feat(server): Add Embedded HTTP Server & REST API, Systemd Service Manager, Multi-User Auth, Syslog, Crond, and Server Metrics

This commit is contained in:
subhobhai943 committed 2026-08-17 13:05:44 +05:30
1 parent 2f1f785cee
commit eb71ebfefb
18 files changed
+1091 -41

No files matched your search

+2 -2
View File
@@ -70,14 +70,14 @@ void isr_handler_common(registers_t* regs) {
}
}
extern void* isr_stub_default;
extern void isr_stub_default(void);
void isr_init(void) {
memset(interrupt_handlers, 0, sizeof(interrupt_handlers));
// 1. Initialize all 256 gates to isr_stub_default
for (int i = 0; i < 256; i++) {
idt_set_gate(i, isr_stub_default, 0x8E);
idt_set_gate(i, (void*)isr_stub_default, 0x8E);
}
// 2. Install dedicated CPU exception gates (0-31) and hardware IRQ gates (32-47)