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

+4 -4
View File
@@ -84,7 +84,7 @@ start2:
.mmap_store_done:
; -------------------------------------------------------------
; Step 3: Load Kernel from Disk to 0x10000 (Conventional RAM)
; 4 chunks x 64 sectors = 256 sectors (128 KB)
; 12 chunks x 64 sectors = 768 sectors (384 KB)
; -------------------------------------------------------------
mov si, msg_kernel_load
call print_string_16
@@ -93,7 +93,7 @@ start2:
mov word [kernel_dap_seg], 0x1000
mov dword [kernel_dap_lba], 16
mov dword [kernel_dap_lba + 4], 0
mov cx, 4 ; 4 chunks * 64 sectors = 256 sectors (128 KB)
mov cx, 12 ; 12 chunks * 64 sectors = 768 sectors (384 KB)
.kernel_chunk_loop:
push cx
@@ -196,10 +196,10 @@ pm_entry:
mov ss, ax
mov esp, 0x7C00
; Copy kernel from 0x10000 to 0x100000 (1MB mark) - 256 KB (512 sectors)
; Copy kernel from 0x10000 to 0x100000 (1MB mark) - 384 KB (768 sectors)
mov esi, 0x10000
mov edi, 0x100000
mov ecx, (512 * 512) / 4
mov ecx, (768 * 512) / 4
rep movsd
; Enable PAE in CR4