mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
feat(server): Add Embedded HTTP Server & REST API, Systemd Service Manager, Multi-User Auth, Syslog, Crond, and Server Metrics
This commit is contained in:
1 parent
2f1f785cee
commit
eb71ebfefb
18 files changed
+1091
-41
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user